mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Add support for generating dhparams with GnuTLS to genssl.
This commit is contained in:
parent
f16d82607c
commit
745378a329
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env perl -w
|
||||
#!/usr/bin/env perl
|
||||
#
|
||||
# InspIRCd -- Internet Relay Chat Daemon
|
||||
#
|
||||
@ -85,6 +85,7 @@ __GNUTLS_END__
|
||||
$status ||= system "$certtool --version >/dev/null 2>&1";
|
||||
$status ||= system "$certtool --generate-privkey --outfile key.pem";
|
||||
$status ||= system "$certtool --generate-self-signed --load-privkey key.pem --outfile cert.pem --template $tmp";
|
||||
$status ||= system "$certtool --generate-dh-params --bits 2048 --outfile dhparams.pem";
|
||||
} elsif (lc $ARGV[0] eq 'openssl') {
|
||||
my $tmp = new File::Temp();
|
||||
print $tmp <<__OPENSSL_END__;
|
||||
|
Loading…
x
Reference in New Issue
Block a user