Report this

What is the reason for this report?

SSL on a route53 domain

Posted on March 16, 2022

Hello,

my domain is: mydomain.com

running this command: sudo certbot certonly --dns-route53 -d mydomain.com -d *.mydomain.com

produces this output: Unable to locate credentials

I want to create a wildcard in order to use traefik for multiple docker containers. I have the AWS credentials but I dont know how to use them.

Any help is much appreciated!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

Note that you need to create a config file at the ~/.aws/ directory:

~/.aws/config

And then specify your credentials in that configuration file:

[default]
aws_access_key_id=AKIAIOSFODNN7EXAMPLE
aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

Note that you need to change the credentials accordingly with your own ones.

For more information, you could refer to the official docs here:

https://certbot-dns-route53.readthedocs.io/en/stable/

Let me know how it goes!

Regards,

Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.