summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-08-12 03:46:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-08-12 03:46:05 +0000
commit388cb34e299b9bacf624017ca3a94e306b15f2ec (patch)
tree7a4c8c6e732a54f77d3a1a0df4b124d3efa89d72 /usr
parent05a5e5c546e6a815ba8aecbc8464463217c227d8 (diff)
downloadpfsense-388cb34e299b9bacf624017ca3a94e306b15f2ec.zip
pfsense-388cb34e299b9bacf624017ca3a94e306b15f2ec.tar.gz
Ensure /var/etc/ssl exists
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/system_advanced_create_certs.php1
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");
OpenPOWER on IntegriCloud