Apache2.2 starts but https does not work on windows

0

I looked at several examples on the web and followed this one

Everything went well without any error in creating the certificate, I looked at the configuration files and everything is as recommended, apache starts normally and without error, it happens that when trying to access link it error:

Não é possível acessar esse site
A conexão com localhost foi recusada.
Tente:

Verificar a conexão
Verificar o proxy e o firewall
ERR_CONNECTION_REFUSED

I looked at the firewall and everything complies, I do not know where to look to put this https to work, the link works well

If there were any configuration errors, would not apache scream?

No log has this line:

[Fri Apr 20 11:05:22 2018] [notice] Apache/2.2.25 (Win32) mod_ssl/2.2.25 OpenSSL/0.9.8y PHP/5.3.8 configured -- resuming normal operations

It seems like everything should be normal right?

    
asked by anonymous 20.04.2018 / 16:19

1 answer

0

I managed to make https work, looking in the log could not see any line that could give me a light of the problem, I decided to enter with PowerShell as Administrator and upload the Apache nail to see if there was an error, he showed me a configuration invalid on line 62 of the httpd-ssl.conf file where it was:

  

SSLSessionCache "shmcb: C: / Program Files (x86) / Apache Software   Foundation / Apache2.2 / logs / ssl_scache (512000) "

Switching to:

  

SSLSessionCache "dbm: C: / Program Files (x86) / Apache Software   Foundation / Apache2.2 / logs / ssl_scache "

It worked now, I wonder if I have to reconfigure all my virtual hosts that are in http for https or do you have any lines that I can add and it knows that http has to respond on https?

    
20.04.2018 / 17:11