summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/opensslcert.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/opensslcert.pm b/make/opensslcert.pm
index 2caad06cd..8de7bd4b1 100644
--- a/make/opensslcert.pm
+++ b/make/opensslcert.pm
@@ -14,14 +14,15 @@ sub make_openssl_cert()
my $country = promptstring_s("Please enter your country (two letter code)", "US");
my $city = promptstring_s("Please enter your city", "Factory Town");
my $email = promptstring_s("Please enter a contact email address", "oompa\@loompa.com");
+ my $commonname = promptstring_s("Please enter the common name (domain name) of the irc server", "example.inspircd.org");
print FH <<__END__;
$country
$state
$city
$org
$unit
+$commonname
$email
-firstname.lastname@yourcompany.com
__END__
close(FH);
system("cat openssl.template | openssl req -x509 -nodes -newkey rsa:1024 -keyout key.pem -out cert.pem 2>/dev/null");