dlapiduz / certbot-s3front

Certbot CLI plugin for S3/CloudFront validation and installation
MIT License
584 stars 70 forks source link

EndpointConnectionError: does not accept different region #53

Open nohona opened 7 years ago

nohona commented 7 years ago

I'm receiving following error when using region us-west-1, it goes back to default region: Thanks!

CLI command:

certbot --agree-tos -a certbot-s3front:auth --certbot-s3front:auth-s3-bucket domainame.com --certbot-s3front:auth-s3-region "us-west-1" -i certbot-s3front:installer --certbot-s3front:installer-cf-distribution-id "CF_DISTRIBUTION_ID" -d domainame.com

Output:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Cert not yet due for renewal

You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
(ref: /etc/letsencrypt/renewal/domain.com-0001.conf)

What would you like to do?
-------------------------------------------------------------------------------
1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)
-------------------------------------------------------------------------------
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 1
Keeping the existing certificate
Found credentials in shared credentials file: ~/.aws/credentials
Starting new HTTPS connection (1): iam.us-east-1a.amazonaws.com
Starting new HTTPS connection (2): iam.us-east-1a.amazonaws.com
Starting new HTTPS connection (3): iam.us-east-1a.amazonaws.com
Starting new HTTPS connection (4): iam.us-east-1a.amazonaws.com
Starting new HTTPS connection (5): iam.us-east-1a.amazonaws.com
An unexpected error occurred:
EndpointConnectionError: Could not connect to the endpoint URL: "https://iam.us-east-1a.amazonaws.com/"
Please see the logfiles in /var/log/letsencrypt for more details.

IMPORTANT NOTES:
 - Unable to install the certificate
 - Congratulations! Your certificate and chain have been saved at
   /etc/letsencrypt/live/domain.com-0001/fullchain.pem. Your
   cert will expire on 2017-09-17. To obtain a new or tweaked version
   of this certificate in the future, simply run certbot again with
   the "certonly" option. To non-interactively renew *all* of your
   certificates, run "certbot renew"
sh: parse_git_branch: command not found