X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=a66a71dc2acab00be511692f34db54e9f1317e78;hb=c64fa61312c12ff5823f759e44e25b814a9e60f8;hp=996edc98132151ab1ff1e7bfa9735503fe2793f4;hpb=f22b48724942fc07423c7a3c4540500c5bb4200a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index 996edc981..a66a71dc2 100755 --- a/configure +++ b/configure @@ -25,6 +25,7 @@ use Getopt::Long; use make::utilities; use make::configure; use make::gnutlscert; +use make::opensslcert; GetOptions ( 'enable-gnutls' => \$opt_use_gnutls, @@ -744,8 +745,7 @@ if ($config{USE_GNUTLS} eq "y") { * Generating the certificates may take some time, go grab a * * coffee, or something. * *************************************************************\n\n"; - system("openssl req -x509 -nodes -newkey rsa:1024 -keyout key.pem -out cert.pem"); - system("openssl dhparam -out dhparams.pem 1024"); + make_openssl_cert(); print "\nCertificate generation complete, copying to config directory... "; system("mv key.pem $config{CONFIG_DIR}/key.pem"); system("mv cert.pem $config{CONFIG_DIR}/cert.pem");