问题
To apply a certificate, first I created a keystore file and then a csr file. Then I pass the csr file to the signing authority to request a certificate. Signing authority provided me the certificate, now I need to import the certificate into keystore file. But unfortunately I have lost the originally generated keystore file, but I have the csr file.
My Question: Is there any way to convert/generate the original keystore file from the csr file?
Thanks in advance.
回答1:
You cannot. The CSR
only contains PublicKey
.
It is explained here and here.
You can check with the Certificate Authority if they can reissue a new Certificate for a new request.
来源:https://stackoverflow.com/questions/26751546/convert-generate-the-keystore-file-from-the-csr-file