Auto renewal failed on Amazon AMI

I installed SSL certificate of Let’s Encrypt by using commands in October 2019 on AWS EC2 user for a site (http://powerlinehardware.com/). Now on 21st january, 2020 is certificate is expired. I got a guide of how we can renew this certificate. It said that we can do that by switching to sudo user by sudo -i and editing crontab by crontab -e and then adding this line: 30 2 * * Sun /home/ec2-user/certbot-auto renew to renew it on every Sunday and 2.30am. But it did not work.

So the site is experiencing security error. Please help us regarding this because it is a live shopping site and it has to be https.

Hi @ayankkr

that's too unspecific.

Please answer all of the following questions:


Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

My domain is: powerlinehardware.com

I ran this command: 30 2 * * Sun /home/ec2-user/certbot-auto renew

It produced this output: Installing new crontab

My web server is (include version): Amazon Linux AMI 2018.03.0 (HVM)

The operating system my web server runs on is (include version):

The error message of the renew command is required.

And the version of your Certbot.

Hello,
The error message of the renew command is required.

And the version of your Certbot.

I provided the message of the renew command. It is: Installing New Crontab. No error message appeared.

How do I know the version of the Certbot?

That's not the result of the renew command. Please start with some basics:

Then read the basics of Challenge types:

Your certificate is expired - 10 days. So renew it.

https://certbot.eff.org/docs/using.html

has a lot of informations.

Please read my answer. You are mixing certbot installation with certbot usage.

Ok.

But I installed Let’s Encrypt successfully on 23rd October 2019 on Amazon Linux AMI server by running this command:

sudo ./certbot-auto --debug -v --server [https://acme-v01.api.letsencrypt.org/directory](https://acme-v01.api.letsencrypt.org/directory) certonly --webroot -w /var/www/html -d [powerlinehardware.com](http://powerlinehardware.com) -d www.
[powerlinehardware.com](http://powerlinehardware.com)
Isn't there any command for renewing this?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.