SSL on a route53 domain


my domain is:

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

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!

Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
March 17, 2022

Hi there,

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


And then specify your credentials in that configuration file:


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

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

Let me know how it goes!