|
I've successfully managed to get step ca docker image running with a vTPM device. Issuing X.509 certificates is working. Now I wanted to add a SSH provider to my configuration. I created the Host/User Keys with After restarting the docker container, I get this error: Not sure what it is. Verified the correct password-file contents, tried to regenerate keys w/o a password, made sure file exists and is readable. Nothing helped. Maybe a simple configuration thing or does step-ca search the keys for SSH via pcscd in the TPM keystore? |
Replies: 1 comment
|
To answer myself: If using a TPM device, you'll have to create SSH keys with Afterwards add this section to ca.json: Restarting step-ca, you will get an output similar to this one: Please be aware that Smallstep does not currently support using Ed25519 private keys for the SSH CA mechanism. RSA or ECDSA (like NIST P-256) keys must be used for SSH User and Host CA operations. Not really satisfying. |
To answer myself:
If using a TPM device, you'll have to create SSH keys with
step kms create: