Repository navigation
|
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 :-( . |
Answered by
maraino
Jul 12, 2021
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.crtBut 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. |
2 replies
Answer selected by
logopk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are different options, the most obvious one is to create a new one using a CSR with the same key:
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.