LetsEncrypt setup on ubuntu from scratch

Hello

I am trying to set up Let's Encrypt ssl on one of my subdomain.
I am using openresty and I am following this thread

https://github.com/auto-ssl/lua-resty-auto-ssl

but the ssl is not working at all. I can access the domain via https:// but with a red cross on it.

In the logs its showing nothing.

Is there any other guide available to set up the ssl.

If you provide your domain name we can help better. You may not have as much of a problem as you think.

3 Likes

the domain is behind a vpn, so no one can access it publicly.

A Let's Encrypt HTTP Challenge will fail if it can't reach your server and then won't issue a cert.

The auto-ssl method you link uses this kind of challenge so I don't know how it could work.

You should review this topic to get a better understanding of options

3 Likes

Ok I will look in to this.

Thank you for sharing

2 Likes

Can you show the details about that "red cross"?

2 Likes