K
K
Konstantin Khairov2019-02-28 09:14:43
Nginx
Konstantin Khairov, 2019-02-28 09:14:43

HTTPS Works only through CURL, no connection through the browser at all?

Made https on the site. But now via HTTP it gives the message The plain HTTP request was sent to HTTPS port
. If you access via https, then the connection wait limit has been exceeded. But if you make a curl -v https://domen.com request on the server itself, then the page opens without problems. What could be the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Korobkov, 2019-02-28
@BorisKorobkov

The plain HTTP request was sent to HTTPS port

Ports are configured incorrectly. Probably, a certificate is also given on port 80 (it should be given only on port 443).
Specify your configs.

A
Artem Tsvetkov, 2019-02-28
@Jazdero

This often happens with cheap or free https certificates, I suggest purchasing it on my hosting, it is unlikely that the site will crash on their certificates

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question