-
Hello. I have installed step (cli.0.16.1+ca.0.16.0), initialized pki, added acme, configured for myself (mysql, claims, e.g.). Lets start.
At the same time step-ca print info with POST block without any errors... That trouble repeated with two different servers. It's not my firewall, not my proxy and not my port, because i turned off firewall and connected to localhost:443. Please, explain me, what can it be. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 export REQUESTS_CA_BUNDLE=$(step path)/certs/root_ca.crt
certbot .... For acme.sh is I think is just adding the flag |
Beta Was this translation helpful? Give feedback.
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:For acme.sh is I think is just adding the flag
--ca-bundle $(step path)/certs/root_ca.crt