F
F
fman22016-11-11 11:22:12
Nginx
fman2, 2016-11-11 11:22:12

How to make a 301 redirect from HTTPS to HTTP without a certificate?

Good afternoon.
Previously, there was a certificate on the domain, there was a redirect from http to https. Currently there is no SSL certificate. Is it possible to somehow redirect from HTTPS to HTTP using NGINX without it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
eudj1n, 2016-11-11
@fman2

You can't do it without a certificate. If there is no certificate, get a free one, for example, via https://letsencrypt.org/

S
Sergey Kolpakov, 2016-11-11
@Zolushok

the task is not solved in principle, neither by means of nginx, nor by any others. a redirect instruction is issued by the server in response to an https request, which cannot be processed without a server certificate. eudj1n
's advice is good advice. let's encrypt has proven to be quite good.

A
Alexander Valle, 2016-11-11
@v1pby

No way. SSL handshake happens at a level below.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question