diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-10 20:06:58 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-10 20:06:58 +0000 |
commit | 9cdb5e4c0cd5347ddfa666a001799895703d2527 (patch) | |
tree | 05be2ca63ac1c8e4bc5ec33ab54b873570e2df5b /usr/local | |
parent | 6ad24605a53c3fe38f9cc53bb2e049288dc47261 (diff) | |
download | pfsense-9cdb5e4c0cd5347ddfa666a001799895703d2527.zip pfsense-9cdb5e4c0cd5347ddfa666a001799895703d2527.tar.gz |
Add key generation items found on list and comment out even though ours works atm.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_advanced_create_certs.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/local/www/system_advanced_create_certs.php b/usr/local/www/system_advanced_create_certs.php index 388bb63..900fe29 100755 --- a/usr/local/www/system_advanced_create_certs.php +++ b/usr/local/www/system_advanced_create_certs.php @@ -153,9 +153,10 @@ if ($_POST) { <?php if ($savemsg) print_info_box($savemsg); ?> <p>One moment please... <?php - //mwexec("cd /tmp && openssl req -nodes -new > cert.csr && openssl rsa -in privkey.pem -out key.pem && openssl x509 -in cert.csr -out cert.pem -req -signkey key.pem -days 365"); mwexec("cd /tmp/ && /usr/bin/openssl req -new -x509 -keyout cakey.pem -out cacert.pem -days 3650 -config /etc/ssl/openssl.cnf -passin pass:test -nodes"); - $fd = fopen("/tmp/cacert.pem", "r"); + //mwexec("cd /tmp/ && /usr/bin/openssl req -config openssl.cnf -new -nodes > cacert.pem "); + //mwexec("cd /tmp/ && /usr/bin/openssl x509 -in cert.csr -out cert.pem -req -signkey cakey.pem"); + $fd = fopen("/tmp/cacert.pem", "r"); $cacert = fread($fd,8096); fclose($fd); $fd = fopen("/tmp/cakey.pem", "r"); |