SCEP provisioner for enrollment with Cisco routers #1289
-
ContextHi there! I'm new to smallstep CA and started recently using it in an NSP Network Lab environment for enrollment with Cisco routers. Cisco IOS-XR routers use SCEP for CA enrollment. ProblemCurrently I have a simple setup with the default config options on the CA running locally on a VM. I tried adding the SCEP provisioner by following the docs example (https://smallstep.com/docs/step-ca/provisioners#scep) but once I reload the step-ca and insert the private key i have the following error ... something tells me that I'm missing something, but at first glance from reading the docs I cannot say what... Thanks in advance 😃 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
CC @hslatman |
Beta Was this translation helpful? Give feedback.
-
Hey @pedroaston, am I correct you were using the CA generated by default before you tried enabling SCEP? If so, you'll need to create a new intermediate (at least the intermediate; it can be signed by the root that was generated before) for an RSA private key. Our SCEP configuration requires an RSA key, as the SCEP protocol relies on encryption against the CA public key. We have some documentation on how to configure the SCEP provisioner here: https://smallstep.com/docs/step-ca/provisioners#scep. Reconfiguring your CA to use an RSA certificate chain is described here: https://smallstep.com/docs/tutorials/rsa-chain. If you did follow these instructions before, then it might be the case that you've used a different password to encrypt the new intermediate RSA key. Since you're trying this out, the simplest workaround is to create a new RSA key for the intermediate and use the same password the CA is already configured to use. That said, the error message you encountered is not super great. I'll have a look at making that more user friendly. Do you know if the |
Beta Was this translation helpful? Give feedback.
Hey @pedroaston, am I correct you were using the CA generated by default before you tried enabling SCEP? If so, you'll need to create a new intermediate (at least the intermediate; it can be signed by the root that was generated before) for an RSA private key. Our SCEP configuration requires an RSA key, as the SCEP protocol relies on encryption against the CA public key. We have some documentation on how to configure the SCEP provisioner here: https://smallstep.com/docs/step-ca/provisioners#scep. Reconfiguring your CA to use an RSA certificate chain is described here: https://smallstep.com/docs/tutorials/rsa-chain.
If you did follow these instructions before, then it might be the case tha…