-
Notifications
You must be signed in to change notification settings - Fork 454
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]: X5C provisioner is not enabled #2132
Comments
Hey @hydratlas, Have you tried performing the operations manually before scripting them? I suspect the |
The settings themselves seem to be working fine, because the ca.json file already has the following line. Is this not good enough?
|
When are those the contents? Because it looks like the X5C provisioner isn't added using remote administration if it ends up in Have you tried running the steps locally, manually; not using your script? Because I still think you're missing the proper authentication for doing remote management. |
Oh, I think I know what's going on: When you initialize the CA with Remote Management enabled, and then add the X5C provisioner (but without the CA running), it's likely added to the If you want the X5C provisioner to be added, it has to be added either 1) after the CA is running, or 2) before enabling Remote Management. In the latter case the X5C provisioner will be migrated to the database automatically. |
Thank you. The problem has been resolved by not using the “--remote-management” option with the “step ca init” command. |
Great 😄 Now, with |
Steps to Reproduce
Your Environment
step-ca
Version - Smallstep CLI/0.28.2 (linux/amd64) Release Date: 2024-11-20 19:14 UTCExpected Behavior
The information displayed at https://localhost:8443/provisioners includes X5C provisioner.
Actual Behavior
The information displayed at https://localhost:8443/provisioners does not include X5C provisioner.
Additional Context
{"provisioners":[{"type":"ACME","name":"acme","options":{"x509":{},"ssh":{}}},{"type":"SSHPOP","name":"sshpop","claims":{"enableSSHCA":true,"disableRenewal":false,"allowRenewalAfterExpiry":false,"disableSmallstepExtensions":false}},{"type":"JWK","name":"admin","key":{"use":"sig","kty":"EC","kid":"kw9de20b1cQCYgdX8-y6LbUyTD1CrISEVcSG06fDsVk","crv":"P-256","alg":"ES256","x":"v5V2DvuKzCxZYtc9TOxRo8bXsCLCpiD2HtX_rTNsVTc","y":"-uSWMw4PjC34uGOTmdynql4356CkzMBxXJXx9D2PmyY"},"encryptedKey":"eyJhbGciOiJQQkVTMi1IUzI1NitBMTI4S1ciLCJjdHkiOiJqd2sranNvbiIsImVuYyI6IkEyNTZHQ00iLCJwMmMiOjYwMDAwMCwicDJzIjoiN0ZPam9HNWdnbnRsZU9sUlhBUVhPQSJ9.BcB3UY2Im1-3SD4rLR-fWipi2rZuGStT8NkgFnuMLc-V2rLnLck7rQ.uMadBxpjeepySQ5_.zQvKbCFiXc1I8STCrwmp1QaI8yU9w7WchupH2pYOoqvQu9Tc-kjtpe0RS2WKf9y7rHuAVEb8zkh43cPtsE3WFrrU9dCmbJ-ivkyCa3kxe-dk1v8fZRzNadIDog6152bPyxULQnIeA0nsUcUurlJ-T4NgS9O49zJjOZTkYYcoxmOJhZ5dsqIFtExradMKMzOJTUm5GgQ-By0FZ9OEvcLmxQWe534Tiyqra67Vr1vZY7Ay0Pg-Udf4EVHhqACP-KtieIBim5HVtJ5BIOWxuc410FuQeuG7EYEnfEaeEswNUn_nkoqaq5iaeioQlGvr9fEI1AeBEQg_sM8gem77Jxo.vojOeMfR3x1xUcG4afoPCA","claims":{"enableSSHCA":true,"disableRenewal":false,"allowRenewalAfterExpiry":false,"disableSmallstepExtensions":false},"options":{"x509":{},"ssh":{}}}],"nextCursor":""}
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: