Getting plugin error when trying to renew certificate

My domain is: bregg.com and [redacted].com

I ran this command: sudo certbot renew

It produced this output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log


Processing /etc/letsencrypt/renewal/bregg.com.conf


Cert is due for renewal, auto-renewing…
Could not choose appropriate plugin: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError(‘An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.’,)
Attempting to renew cert (bregg.com) from /etc/letsencrypt/renewal/bregg.com.conf produced an unexpected error: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError(‘An authentication script must be provided with --manual-auth-hook when using the manual plugin non-interactively.’,). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/bregg.com/fullchain.pem (failure)


All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/bregg.com/fullchain.pem (failure)


1 renew failure(s), 0 parse failure(s)

My web server is (include version): Bitnami Apache

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

My hosting provider, if applicable, is: Amazon AWS Lightsail

I can login to a root shell on my machine (yes or no, or I don’t know): 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): No

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

So now I am getting this after trying a different way (https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/) Step 5:

sudo /opt/bitnami/ctlscript.sh stop apache
sudo /usr/local/bin/lego --tls --email="EMAIL-ADDRESS" --domains="DOMAIN" --path="/etc/lego" renew

It now says:

2019/05/03 19:04:41 [bregg.com] The certificate expires in 88 days, the number of days defined to perform the renewal is 30: no renewal.

Even though it says this the website is still showing the same expiration date. Do I have to manually move the files or something?

Ok I had to manually move the files in the [redacted].com server. Let me try it on the bregg.com server.

5:00pm Update - I had to manually copy those are well. If anyone has a script for auto-renewing these on a AWS Lightsail LAMP instance please let me know!

Hi @tychoash

if you use bitnami, there are a lot of different use cases.

And now you have two different Letsencrypt clients - Certbot and lego.

Typical: Create a certificate, then you have to do additional steps so bitnami is able to use the certificate.

So the bitnami documentation is your primary source.

1 Like

As always you rock Juergen! I made sure to do a donation last month. You guys are doing great and keep up the good work!

1 Like

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