Certbot-auto renew not working in linux ami

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. https://crt.sh/?q=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: doyogame.org

I ran this command: ./certbot-auto renew

It produced this output:
./certbot-auto renew

Requesting to rerun ./certbot-auto with root privileges…

FATAL: Amazon Linux support is very experimental at present…

if you would like to work on improving it, please ensure you have backups

and then run this script again with the --debug flag!

Alternatively, you can install OS dependencies yourself and run this script

again with --no-bootstrap.

My web server is (include version): amazon-linux-ami/2018.03-release-notes/

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

My hosting provider, if applicable, is: aws

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

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot-auto (how to find version no idea)

i am very new to this field hence forgive me for my ignorance. need help i tried every method but i think i have messed up with directories and files on the server.

help will be appreciated.

1 Like

Hi @yahalife,

As the error message says, Certbot isn’t reliable on Amazon Linux. Did you follow a tutorial of some sort when you originally got your certificate?

You could try ./certbot-auto --debug renew and see if that works, but it might end up having a different problem, such as a packaging dependency problem.

If that doesn’t work, we can talk about using Docker to run Certbot, or switching to a different Let’s Encrypt client.

1 Like

thank you for your response.
i tried your suggestion and here is the result of the command that you shared
./certbot-auto --debug renew

Requesting to rerun ./certbot-auto with root privileges…
Bootstrapping dependencies for Amazon… (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
To use Certbot, packages from the EPEL repository need to be installed.
Enabling the EPEL repository in 1 second…
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00
amzn-updates | 2.5 kB 00:00
1065 packages excluded due to repository priority protections
Package epel-release-6-8.9.amzn1.noarch already installed and latest version
Nothing to do
yum is hashed (/usr/bin/yum)
To use Certbot, packages from the EPEL repository need to be installed.
Enabling the EPEL repository in 1 second…
Loaded plugins: priorities, update-motd, upgrade-helper
1065 packages excluded due to repository priority protections
Package epel-release-6-8.9.amzn1.noarch already installed and latest version
Nothing to do
Loaded plugins: priorities, update-motd, upgrade-helper
1065 packages excluded due to repository priority protections
Package gcc-4.8.5-1.22.amzn1.noarch already installed and latest version
Package augeas-libs-1.0.0-5.7.amzn1.x86_64 already installed and latest version
Package 1:openssl-1.0.2k-16.150.amzn1.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.2k-16.150.amzn1.x86_64 already installed and latest version
Package libffi-devel-3.0.13-16.5.amzn1.x86_64 already installed and latest version
Package system-rpm-config-9.0.3-42.28.amzn1.noarch already installed and latest version
Package ca-certificates-2018.2.22-65.1.20.amzn1.noarch already installed and latest version
Package python27-devel-2.7.16-1.129.amzn1.x86_64 already installed and latest version
Package python27-virtualenv-15.1.0-1.14.amzn1.noarch already installed and latest version
Package python27-tools-2.7.16-1.129.amzn1.x86_64 already installed and latest version
Package python27-pip-9.0.3-1.26.amzn1.noarch already installed and latest version
Nothing to do
Creating virtual environment…
Traceback (most recent call last):
File “”, line 27, in
File “”, line 19, in create_venv
File “/usr/lib64/python2.7/subprocess.py”, line 185, in check_call
retcode = call(*popenargs, **kwargs)
File “/usr/lib64/python2.7/subprocess.py”, line 172, in call
return Popen(*popenargs, **kwargs).wait()
File “/usr/lib64/python2.7/subprocess.py”, line 394, in init
errread, errwrite)
File “/usr/lib64/python2.7/subprocess.py”, line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

So, unfortunately there is no supported installation method for Certbot on your operating system.

Would you like to try running Certbot via Docker, or consider a different Let’s Encrypt client?

1 Like

I am open for whatever is best and helps longterm. Hence will follow your guidance.

1 Like

awaiting for your response

Which web server application do you use?

I am using AWS web server

it seems that i have not give you correct answer.
and i am clueless which web server application is used let me know how do if find out which we server application i am using?

Kindly help how to fix this issue

we are using apache web server application will it suffice you to give the solution?

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