Then the error must be somewhere else in the system.
Since the interaction with SSL is done by PHP, you have to check your PHP configuration carefully. Your information is not enough to be able to make a clear statement.
I am happy to help, but would need the following information:
- which OS exactly:
sed -n 's/^PRETTY_NAME="\(.*\)"$/\1/p' /{etc,usr/lib}/os-release 2>/dev/null | sort -u
If it is a Ubuntu or Debian system (as you stated):
- the output of these commands:
find /etc/php \( -name "*.ini" -o -name "*.conf" \) ! -type l | while read -r file; do echo "Filename: $file"; sed -E '/^\s*($|;|#|\[)/d;/=\s*$/d' "$file"; echo; donegrep php <(update-alternatives --get-selections)
andgrep mpm <(sudo apachectl -M 2>/dev/null) - this → php-updater ← output:
php-updater --list-installed
ernolf