Open kaaljabr opened 6 years ago
I was really banging my head against a wall trying to get letsencrypt working properly with my keystone site, someone managed to find the solution, at least in my case, which was the production flag in the letsencrypt object:
letsencrypt: {
production: true,
// the rest
}
Maybe see if that works?
@kaaljabr, did @alancwoo's answer work for you?
I am deploying keystonejs app on Ubuntu 16 with docker-compose and having a valid letsencrypt certificate.
I have added the following settings in keystone.js
Server starts fine showing me this:
app | app | ------------------------------------------------ app | KeystoneJS v4.0.0 started: app | mydomain is ready on http://0.0.0.0:3000 app | SSL Server is ready on https://0.0.0.0:3001 app | ------------------------------------------------ app |
But when I visit my website. it does not show it as secured from the url tab in the browser. It shows a little exclamation mark (!) Saying: your connection to this site is not secured.
I have apache2 on my server.
under /etc/apache2/sites-available/mydomain.com.conf I have this:
and under /etc/apache2/sites-available/mydomain.com.le.ssl.conf
I have tried pointing the ProxyPass & ProxyPassReverse to 3001 port. But the site will never be accessible. Any help is so much appreciated.