-
Hi, if I have messed up my setup and lost the cert (not the key) could I request the same cert again? Thanks Peter I have a stupid old script that overwrote all client certs with the old expired from my old ca :-( . |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There are different options, the most obvious one is to create a new one using a CSR with the same key: step certificate create --csr --key my.key --san foo.bar "My certificate" my.csr
step ca sign my.csr my.crt But If you want to retrieve the same one, you can try to retrieve it from the logs or from the database. But this can be quite tricky as you might need to create a custom program to read the db. |
Beta Was this translation helpful? Give feedback.
There are different options, the most obvious one is to create a new one using a CSR with the same key:
step certificate create --csr --key my.key --san foo.bar "My certificate" my.csr step ca sign my.csr my.crt
But If you want to retrieve the same one, you can try to retrieve it from the logs or from the database. But this can be quite tricky as you might need to create a custom program to read the db.