В моей конфигурации apache отсутствовала конфигурация виртуального хоста.
/ etc / apache2 / sites-available / default-ssl.conf
Содержимое:
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/magento
ServerName <my-domain>.com
<Directory "/path/to/root-of-web-app">
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLProtocol -all +TLSv1 +SSLv3
SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
SSLCertificateKeyFile /home/server/Mohit/ssl_certs/server.key
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# MSIE 7 and newer should be able to use keepalive
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>