Certbot failed on AWS, won't renew, apache bjorked

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: two-worlds.com

I ran this command:

It produced this output:

My web server is (include version): Apache 2.4.39

The operating system my web server runs on is (include version):
Amazon Linux AMI 2018.03

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):
yes

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

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

I had certbot running, went to renew certificate and it failed. Now several days later and apache does not seem to be running properly at all - can’t now access any site on what is a Wordpress Multisite installation that requires a wildcard certificate (which was working fine)

I suspect issues relating to python & epel: I had to install python3 a while ago for other reasons (3.6.8). Python2 (2.6.9) is still installed but I’ve aliased python->python3 in .bashrc

Whether I’ve got epel enabled or disabled in yum, several system updates are now failing, certbot was broken completely and, having deleted it, won’t now reinstall: here’s what I get after yum install python2-certbot-apache.noarch (it doesn’t seem to make any difference whether I’ve got the python->python3 alias enabled or not

–> Finished Dependency Resolution
Error: Package: certbot-0.31.0-2.el7.noarch (epel)
Requires: systemd
Error: Package: python2-acme-0.31.0-1.el7.noarch (epel)
Requires: pyOpenSSL >= 0.13.1
Installed: python26-pyOpenSSL-0.10-2.8.amzn1.x86_64 (@amzn-main)
pyOpenSSL = 0.10-2.8.amzn1
Error: Package: python2-certbot-0.31.0-2.el7.noarch (epel)
Requires: python2-cryptography
Error: Package: python2-acme-0.31.0-1.el7.noarch (epel)
Requires: python2-pyasn1
Error: Package: python2-six-1.9.0-0.el7.noarch (epel)
Requires: python-six >= 1.9.0
Installing: python26-six-1.8.0-1.23.amzn1.noarch (amzn-main)
python-six = 1.8.0-1.23.amzn1
Error: Package: python2-acme-0.31.0-1.el7.noarch (epel)
Requires: python2-cryptography
Error: Package: python2-certbot-apache-0.31.0-1.el7.noarch (epel)
Requires: python-augeas
Error: Package: python2-requests-2.6.0-0.el7.noarch (epel)
Requires: python-requests >= 2.6.0
Installing: python26-requests-1.2.3-5.10.amzn1.noarch (amzn-main)
python-requests = 1.2.3-5.10.amzn1
Error: Package: python2-josepy-1.1.0-1.el7.noarch (epel)
Requires: python2-cryptography

Any ideas?

Thanks
Richard

That's an ancient version. Check your package sources, you probably added an old repository...

exact same issue, did you find a solution?

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