It produced this output: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): apache httpd
The operating system my web server runs on is (include version): amazon linux
My hosting provider, if applicable, is: AWS cloud
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):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
my ec2 is Amazon Linux AMI release 2012.03 and i want renew existing certificate but its given error. 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.
Start by removing the certbot-auto client - it is old and useless.
Then look for an ACME client that is known to work with your O/S.
[I don't have any experience with it, so I can't advise you there]
Amazon Linux 1 has been out of support since last year. You might be able to enable epel and install certbot that way, but I don't know if that'll work. You may be better off with some other client with minimal dependencies, like something from the "Bash" or "Go" sections of the client list.
But even if you do have certificates installed, if you're running an OS that's not getting security updates your data (and your users' data) shouldn't be considered "secure" in any way.
Apparently I was mistaken and Amazon Linux 1 does still get some level of "critical and important security updates for a reduced set of packages" for a little while longer. But probably best to plan upgrading soon in any event anyway.