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.
It produced this output:The requested certbot-dns-route53 plugin does not appear to be installed
My web server is (include version):Apache2.4.29
The operating system my web server runs on is (include version):Windows Server 2016 Datacenter(Version 1607; OS Build 14393.2125)
My hosting provider, if applicable, is:Amazon
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
I install CentOS7 in the VMware, and follow this step, I got an error “The requested certbot-dns-route53 plugin does not appear to be installed”, but it is indeed installed.
IMPORTANT NOTES:
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
Did you put the file in root’s home, or your normal user’s? I seem to remember that being a point of confusion. Whichever one you did maybe try the other?
But it say:
[root@centos7 ~]# certbot -a dns-route53 -i apache -d “*.mambas.cn” -d mambas.cn --server https://acme-v02.api.letsencrypt.org/directory
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Credentials found in config file: ~/.aws/config
Plugins selected: Authenticator dns-route53, Installer apache
Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
dns-01 challenge for mambas.cn
dns-01 challenge for mambas.cn
Starting new HTTPS connection (1): route53.amazonaws.com
Cleaning up challenges
An error occurred (OptInRequired) when calling the ListHostedZones operation: The AWS Access Key Id needs a subscription for the service
To use certbot-dns-route53, configure credentials as described at https://boto3.readthedocs.io/en/latest/guide/configuration.html#best-practices-for-configuring-credentials and add the necessary permissions for Route53 access.
At first I gave it three permissions according to the tutorial
{
“Version”: “2012-10-17”,
“Statement”: [
{
“Sid”: “VisualEditor0”,
“Effect”: “Allow”,
“Action”: [
“route53:GetChange”,
“route53:ListHostedZones”,
“route53:ChangeResourceRecordSets”
],
“Resource”: “*”
}
]
}