-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Error on Windows CRYPT_E_NO_REVOCATION_CHECK root_ca not in cert store #2150
Comments
Have you checked the system certificate store as well as the user certificate store? I assume the error is shown when a curl request is made towards |
Found it at the user certificate store, the computer cert store is empty. I don't know what a system cert store is. Yeah, the curl fails, not the installation itself. It works on our Debian VM's. How do I tell curl to use the cert store? I tried the bootstrap with and without admin permissions. No difference. Also curl with We don't have a CRL set up, we only use step-ca internally for our dev-nodes. Is that required? I thought it's just for security for active revocation if the intermediate gets compromised. |
Adding the root ca to both trusted stores also does not work, even after restart, with and without admin permssions. |
It sounds like the root certificate was installed correctly, so that part is down. The Then onto the Apache server: is that also running on Windows, and under the same user? |
Great, Yes, the Apache runs on Windows as the same user as I used for the bootstrap command. |
Hm, OK, seems Apache has a similar option with |
I see that it might be addressed by supporting that in You could enable CRL support, and add the distribution point to your certificate template. That way you shouldn't have the error, and the CRL check would still be performed, albeit with an empty CRL (in general). See the There's not a whole lot more that we can do on the CA side: it's some behavior specific to cURL (and other tools using |
Steps to Reproduce
I ran the bootstrap command with
--install
on a Windows 10 and 11 but cannot find the trusted certificate in the trusted computer store nor does a curl command respond without an error. This results in Apache not being able to call /directory to our step-ca server. The command itself reports the installation succeeded.Your Environment
Windows 10 Pro 22H2
Windows 11 Pro 24H2
Smallstep CLI/0.28.2 (windows/amd64)
Release Date: 2024-11-20T19:14:16Z
Expected Behavior
.
Actual Behavior
Additional Context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: