diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-27 21:46:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-27 21:46:24 +0000 |
commit | 20cbc4ece50a8121b51c4f2e310d2f24e1c35e05 (patch) | |
tree | 6bbadba9c985c4f682397f8d99356f9776c7a8ce /usr/local/www/system_advanced_create_certs.php | |
parent | 5e46b37c898c6a2401cb6dc3588f1cf86ef58127 (diff) | |
download | pfsense-20cbc4ece50a8121b51c4f2e310d2f24e1c35e05.zip pfsense-20cbc4ece50a8121b51c4f2e310d2f24e1c35e05.tar.gz |
Mount image as RW before creating certs.
Ticket #647
Diffstat (limited to 'usr/local/www/system_advanced_create_certs.php')
-rwxr-xr-x | usr/local/www/system_advanced_create_certs.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced_create_certs.php b/usr/local/www/system_advanced_create_certs.php index 78a4a54..94fc5c7 100755 --- a/usr/local/www/system_advanced_create_certs.php +++ b/usr/local/www/system_advanced_create_certs.php @@ -63,6 +63,7 @@ if ($_POST) { $commonname=$_POST['commonname']; /* Write out /etc/ssl/openssl.cnf */ + conf_mount_rw(); $fd = fopen("/etc/ssl/openssl.cnf", "w"); fwrite($fd, ""); fwrite($fd, "[ req ]\n"); @@ -253,5 +254,7 @@ include("head.inc"); </html> <?php -} +} + conf_mount_ro(); + ?> |