Question

SSL on a route53 domain

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!


Submit an answer

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.

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