XAMPP SSL not working outside localhost


XAMPP SSL not working outside localhost



I have configured apache for SSL like this-


<VirtualHost *:443>
ServerAdmin root@mysite.com
ServerName mysite.com
ServerAlias mysite.com
ServerAlias www.mysite.com
DefaultType text/html

ErrorLog "logs/mysite.log"
CustomLog "logs/mysiteCustom.log" common

SSLEngine On
#SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
#SSLCACertificateFile "D:xamppapacheconfsslca_bundle.crt"
SSLCertificateFile "D:xamppapacheconfssl.crtserver.crt"
SSLCertificateKeyFile "D:xamppapacheconfssl.keyserver.key"
ProxyRequests off
ProxyPreserveHost On
ProxyPass / ajp://127.0.0.1:8009/
#smax=0 ttl=60 retry=5
#ProxyPass / http://localhost:8080/
#ProxyPassReverse / ajp://127.0.0.1:8009/


</VirtualHost>



It works fine on localhost, but as I tries to access mysite.com from outside of localhost, browser says site not found after a long time of waiting.
Also c:xamppapachelogserror.txt says-


"RSA certificate configured for www.mysite.com:443 does NOT include an ID which matches the server name".









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

how to run turtle graphics in Colaboratory

Export result set on Dbeaver to CSV