Move openssl.cnf to better place and copy it over to /etc/ssl during boot

This commit is contained in:
Renato Botelho 2016-05-31 16:54:00 -03:00
parent 6251d51714
commit 4ecaca5b94
2 changed files with 6 additions and 0 deletions

View File

@ -373,6 +373,12 @@ 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
# Run the php.ini setup file and populate
# /usr/local/etc/php.ini
/etc/rc.php_ini_setup 2>/tmp/php_errors.txt