Page 1 of 1

Let's encrypt renewed certificate won't display in browser

Posted: Wed Jun 01, 2016 11:48 am
by vlahonick
I renewed a certificate for one of my websites with the following command:

Code: Select all

letsencrypt --webroot -w /home/admin/web/my-domain.com/public_html/ -d my-domain.com -d www.my-domain.com --agree-tos --email [email protected] certonly
The certificate was successfully renewed but when I go to my browser to view the certificate it still has the old expiration day.

Things I tried and didn't work so far:
1. Restart apache-nginx and the whole server several times
2. Recreate the symbolic links of the certificate for Vesta
3. Reissue the certificate several times
4. Clear website + browser cache

The thing is that 3 months ago when I had to renew the certificate again, I used the command provided above and everything went perfect. As far as I remember I didn't have to do anything else except the command above and after an apache restart the renewed expiration day of the certificate was shown in browser.

Re: Let's encrypt renewed certificate won't display in browser

Posted: Fri Jun 17, 2016 1:50 pm
by LouisUK
Do you use nginx? Did you restart it as well as apache?

Re: Let's encrypt renewed certificate won't display in browser

Posted: Tue Jun 21, 2016 10:44 am
by vlahonick
LouisUK wrote:Do you use nginx? Did you restart it as well as apache?
Yes of course. I restarted the whole server several times but with no effect.
It seems more likely that something went bad and the Let's Encrypt files are not stored where they should and they cannot be found by the system.

Re: Let's encrypt renewed certificate won't display in browser

Posted: Tue Jun 21, 2016 10:50 am
by skurudo
vlahonick wrote: Yes of course. I restarted the whole server several times but with no effect.
May be some errors when restart?

Re: Let's encrypt renewed certificate won't display in browser

Posted: Tue Jun 21, 2016 11:03 am
by vlahonick
skurudo wrote:
vlahonick wrote: Yes of course. I restarted the whole server several times but with no effect.
May be some errors when restart?

No errors and this is the weird part... Everything seems to be ok but in the browser my certificate is still displayed as expired.

Re: Let's encrypt renewed certificate won't display in browser

Posted: Tue Jun 21, 2016 11:16 am
by skurudo
vlahonick wrote: No errors and this is the weird part... Everything seems to be ok but in the browser my certificate is still displayed as expired.
Browser cache may be? In other browser is same?

Re: Let's encrypt renewed certificate won't display in browser

Posted: Sat Jun 25, 2016 3:33 pm
by vlahonick
skurudo wrote:
vlahonick wrote: No errors and this is the weird part... Everything seems to be ok but in the browser my certificate is still displayed as expired.
Browser cache may be? In other browser is same?
Thanks for the reply but I figured it out. The problem was that some certs & keys for an unknown reason were corrupted. After I deleted them all and generate the certs like it was the first time, everything worked like a charm.

Re: Let's encrypt renewed certificate won't display in browser

Posted: Wed Jul 20, 2016 8:22 am
by skurudo
LetsEncrypt support added.
CLI commands for now, GUI will be later.

Code: Select all

v-add-letsencrypt-domain USER DOMAIN [ALIASES] [RESTART]
v-add-letsencrypt-user USER [EMAIL]
v-check-letsencrypt-domain USER DOMAIN
v-list-letsencrypt-user USER [FORMAT]
v-sign-letsencrypt-csr USER DOMAIN CSR_DIR [FORMAT]
v-update-letsencrypt-ssl
ENG: viewtopic.php?t=11927
RUS: viewtopic.php?t=11905