Your current cert already EXPIRED ! Can't renew my ssl


#1

Trying to renew my ssl certificate and Getting this error:

ERROR : Cannot RENEW SSL cert ! Your current cert already EXPIRED ! Check logs for reason tail /var/log/ee/ee.log & Try Again!!!

Here is my tail log:

Running command: date -d “openssl x509 -in /etc/letsencrypt/live/traveljaws.com/cert.pem -text -noout|grep "Not After"|cut -c 25-

ee is up-to-date and I’m on ubuntu 16.04

Any idea how to resolve this ?


#2

http://community.easyengine.io/search?q=renew%20expired%20cert


#3

Ok… the certificate works now but it’s redirecting to the wrong website!

I followed this:

bunch of stuff

sudo ./letsencrypt-auto certonly --webroot -w /var/www/domain.com/htdocs -d domain.com -d www.domain.com --email email@gmail.com --text --agree-tos

ee site update domain.com --le=off rm /var/www/domain.com/conf/nginx/ssl* cd /etc/letsencrypt find . -name ‘domain.com*’ | xargs rm -rfv ee site update domain.com --le

The certificate works but now my site is redirecting in the wrong place! is it the webroot?. How do I rechange this so that it redirect to the right website?

thx


#4

ok I just had to change my site url to https in my wordpress… now it works!


#5

Thanks for your guide mate, that helped me alot <3.


#6

My current fix to this issue after your EE LE cert has expired is this

cd ~
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
ee site update domain.com --le=off # or run with sudo, though, not needed.
./letsencrypt-auto certonly --webroot -w /var/www/domain.com/htdocs/ -d domain.com -d www.domain.com --email your@email.com --text --agree-tos
ee site update domain.com --le=on # or run with sudo, though, not needed.