Skip to content

Bad record mac #651

Answered by maraino
Nikatik asked this question in Q&A
Jul 19, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @Nikatik, I've been able to reproduce the problem with Certbot, and I think the error in acme.sh is caused for the same reason. Certbot (and acme.sh) are not configured to trust the Root CA of step-ca.

To configure certbot you need to export the environment variable REQUESTS_CA_BUNDLE and it needs to point to the root certificate, for example:

export REQUESTS_CA_BUNDLE=$(step path)/certs/root_ca.crt
certbot ....

For acme.sh is I think is just adding the flag --ca-bundle $(step path)/certs/root_ca.crt

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Nikatik
Comment options

Answer selected by Nikatik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants