Vilmos Szabó
Vilmos Szabó

Reputation: 197

Can't run PHP website with Laragon because of "This site can’t provide a secure connection localhost sent an invalid response." error

When I try to run a PHP website with Laragon I get This site can’t provide a secure connection localhost sent an invalid response. Try running Windows Network Diagnostics. ERR_SSL_PROTOCOL_ERROR

I already changed the hostname template within Laragon to {name}.local and {name}.mc but didn't worked. What should I do? (Other PHP built websites are still working)

Upvotes: 2

Views: 6047

Answers (3)

Ngaox Thao
Ngaox Thao

Reputation: 62

Open SSL is no use with me. I got the solution by opening the readme.html in wordpress

Upvotes: 0

Richard Ockerby
Richard Ockerby

Reputation: 484

This just started happening to me after Laragon has been working fine for ages with SSL. To fix it I had to add the cert to the Trust Store; using the below menu option:

Menu highlights

Upvotes: 0

Vilmos Szabó
Vilmos Szabó

Reputation: 197

I right clicked on Apache in Laragon, turned SSL on and now it works.

Upvotes: 6

Related Questions