After days of research, I couldn’t find a clear answer to my question, so I’m seeking your help.
We are using 2 environments for our websites.
- 1 server for production / 1VPS for staging.
I duplicate the /etc/letsencrypt directory and recreate links from my production environment (where the cert working just fine) to the staging one.
The configuration seems to be good, the
ls -l /etc/letsencrypt/renewal /etc/letsencrypt/live/* command shows :
lrwxrwxrwx 1 www-data www-data 46 Jun 1 16:48 cert.pem -> /etc/letsencrypt/archive/domain.com/cert3.pem
lrwxrwxrwx 1 www-data www-data 47 Jun 1 16:48 chain.pem -> /etc/letsencrypt/archive/domain.com/chain3.pem
lrwxrwxrwx 1 www-data www-data 51 Jun 1 16:48 fullchain.pem -> /etc/letsencrypt/archive/domain.com/fullchain3.pem
lrwxrwxrwx 1 www-data www-data 49 Jun 1 16:48 privkey.pem -> /etc/letsencrypt/archive/domain.com/privkey3.pem
-rw-r–r-- 1 www-data www-data 543 Apr 5 15:27 README
(same result on production environment).
My problem is that my certificat not completely working on my staging environment.
The browser reads the cert on the staging env. , but after several page refresh, it drops and shows the old one with this error : net::ERR_CERT_DATE_INVALID
Does anyone has a clue to fix this ?
Thank you very much !!