diff options
author | Scott Ullrich <sullrich@pfSense.org> | 2009-12-23 15:47:08 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfSense.org> | 2009-12-23 15:47:08 -0500 |
commit | a3e027f60995f327ec7a795fbc01423147eeaa51 (patch) | |
tree | ebb2780d180c57f9e3204f2624a68c651eafe4f0 /etc | |
parent | a63ab6b623f0c491ddd979b9d111b8c55e22d797 (diff) | |
download | pfsense-a3e027f60995f327ec7a795fbc01423147eeaa51.zip pfsense-a3e027f60995f327ec7a795fbc01423147eeaa51.tar.gz |
Use /tmp/ssl.key Ticket #63
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 33a7dcd..f711a28 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -652,7 +652,7 @@ function system_webgui_start() { $cert['refid'] = uniqid(); $cert['name'] = "webConfigurator default"; mwexec("/usr/bin/openssl genrsa 1024 > /tmp/ssl.key"); - mwexec("/usr/bin/openssl req -new -x509 -nodes -sha1 -days 2000 -key ssl.key > /tmp/ssl.crt"); + mwexec("/usr/bin/openssl req -new -x509 -nodes -sha1 -days 2000 -key /tmp/ssl.key > /tmp/ssl.crt"); $crt = file_get_contents("/tmp/ssl.crt"); $key = file_get_contents("/tmp/ssl.key"); unlink("/tmp/ssl.key"); |