summaryrefslogtreecommitdiff
path: root/make/opensslcert.pm
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-14 21:14:36 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-14 21:14:36 +0000
commitf209cce90b394acd26e22eacef0bff61e8f5b4e1 (patch)
tree28374af9d5fc3db87f66477493dc9569d809f518 /make/opensslcert.pm
parent60ab529ad481d5727991901ab0252d84164ccdc0 (diff)
Nuke trailing spaces
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/opensslcert.pm')
-rw-r--r--make/opensslcert.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/opensslcert.pm b/make/opensslcert.pm
index 1de34eef6..5c6689dc7 100644
--- a/make/opensslcert.pm
+++ b/make/opensslcert.pm
@@ -44,7 +44,7 @@ __END__
close(FH);
my $time = promptstring_s("Please enter the number of days that this certificate is valid for","365");
-
+
system("cat openssl.template | openssl req -x509 -nodes -newkey rsa:1024 -keyout key.pem -out cert.pem -days $time 2>/dev/null");
system("openssl dhparam -out dhparams.pem 1024");
unlink("openssl.template");