-
Notifications
You must be signed in to change notification settings - Fork 502
Closed
Labels
Description
Discussed in #2253
Originally posted by Skyb0rg007 April 28, 2025
step-ca provides a method to access the root certificate of the x509 PKI: curl https://ca.example.com/root/{fingerprint}.
This doesn't exist for SSH however, the most similar being the /ssh/roots endpoint.
This endpoint doesn't return the SSH public keys in a usable format for sshd_config usage, since it does not include the algorithm names, which is difficult to extract from the base64 strings from a shell script.
- Is there a simple way to convert the base64-encoded SSH public keys from
https://ca.example.com/ssh/rootsinto the standard OpenSSH format? - Is there an option in
stepto download a public SSH key?
I know ecdsa keys aren't too long, but it's more convenient to distribute the sha256 fingerprint and an endpoint.
Skyb0rg007