diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-08-12 03:46:05 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-08-12 03:46:05 +0000 |
commit | 388cb34e299b9bacf624017ca3a94e306b15f2ec (patch) | |
tree | 7a4c8c6e732a54f77d3a1a0df4b124d3efa89d72 /usr | |
parent | 05a5e5c546e6a815ba8aecbc8464463217c227d8 (diff) | |
download | pfsense-388cb34e299b9bacf624017ca3a94e306b15f2ec.zip pfsense-388cb34e299b9bacf624017ca3a94e306b15f2ec.tar.gz |
Ensure /var/etc/ssl exists
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_advanced_create_certs.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced_create_certs.php b/usr/local/www/system_advanced_create_certs.php index 2f633b4..bc36818 100755 --- a/usr/local/www/system_advanced_create_certs.php +++ b/usr/local/www/system_advanced_create_certs.php @@ -73,6 +73,7 @@ if ($_POST) { /* Write out /var/etc/ssl/openssl.cnf */ conf_mount_rw(); + safe_mkdir("/var/etc/ssl/"); $fd = fopen("/var/etc/ssl/openssl.cnf", "w"); fwrite($fd, ""); fwrite($fd, "[ req ]\n"); |