mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Create openssl.cnf symlink during boot
(cherry picked from commit 5051739d72)
This commit is contained in:
parent
3e4adb7139
commit
28af9ca0f4
@ -373,6 +373,15 @@ echo "done."
|
||||
# Second upgrade stage
|
||||
/usr/local/sbin/${product}-upgrade -y -b 2
|
||||
|
||||
# Copy default openssl config file
|
||||
[ -d /etc/ssl ] \
|
||||
|| mkdir -p /etc/ssl
|
||||
[ -f /usr/local/share/${product}/ssl/openssl.cnf ] \
|
||||
&& cp -f /usr/local/share/${product}/ssl/openssl.cnf /etc/ssl
|
||||
mkdir -p /usr/local/openssl >/dev/null 2>&1
|
||||
ln -sf /etc/ssl/openssl.cnf \
|
||||
/usr/local/openssl/openssl.cnf
|
||||
|
||||
# Run the php.ini setup file and populate
|
||||
# /usr/local/etc/php.ini
|
||||
/etc/rc.php_ini_setup 2>/tmp/php_errors.txt
|
||||
|
||||
@ -1 +0,0 @@
|
||||
../../../etc/ssl/openssl.cnf
|
||||
Loading…
Reference in New Issue
Block a user