Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

197
Views
Apache server not rendering django application but 'This site can’t provide a secure connection'

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.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!