Apache with SSL virtualhost and django app, Giving "This site can’t provide a secure connection" Added following to httpd.conf[Included https-ssl(without any changes)]
SSLSessionCache "shmcb:C:/Apache24/logs/ssl_scache(512000)"
Listen 80
Listen 443
LoadFile "c:/python39/python39.dll"
LoadModule wsgi_module "c:/python39/lib/site-packages/mod_wsgi/server/mod_wsgi.cp39-win_amd64.pyd"
WSGIPythonHome "c:/python39"
WSGIPythonPath "C:/tdid/DSS/"
ServerName xx-xxx.xxxx.com
<VirtualHost *:80>
ServerName xx-xx.xx.com:80
ServerAlias www.xx-xx.xx.com
ServerAdmin xx@xx.com
DocumentRoot C:/tdid/DSS/
WSGIScriptAlias / C:/tdid/DSS/DSS/wsgi.py
<Directory "C:/tdid/DSS/DSS/">
<Files wsgi.py>
Require all granted
</Files>
</Directory>
Alias /static "C:/tdid/DSS/static"
<Directory "C:/tdid/DSS/static/">
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:443>
ServerSignature Off
DocumentRoot C:/tdid/DSS/
ServerName xx-xx.xx.com:443
SSLEngine On
SSLCertificateFile "C:/Apache24/conf/xx-xx.crt"
SSLCertificateChainFile "C:/Apache24/conf/xx.crt"
SSLCertificateKeyFile "C:/Apache24/conf/xx-xxx.key"
WSGIScriptAlias / C:/tdid/DSS/DSS/wsgi.py
<Directory "C:/tdid/DSS/DSS/">
<Files wsgi.py>
Require all granted
</Files>
</Directory>
Alias /static "C:/tdid/DSS/static"
<Directory "C:/tdid/DSS/static/">
Require all granted
</Directory>
</VirtualHost>
Apache error log shows,
[ssl:warn] [pid 6124:tid 132] AH01916: Init: (xxxx-xxxxx.xxxx.com:443) You configured HTTP(80) on the standard HTTPS(443) port!
Also, when I give https://domain name, I get:
This site can’t provide a secure connection xxx-xx.xxx.com sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
I am so stuck with this, any suggestions.
Thanks in advance.