Maksym
Maksym

Reputation: 4574

Two certificates and CSR file

Hello I got stuck with adding new certificate to my java keystore,

I received from customer three files :

1) inter CA pkcs.txt (Start with '-----BEGIN CERTIFICATE-----')

2) no inter CA x.509.txt (Start with '-----BEGIN CERTIFICATE-----')

3) private csr.txt (Start with '-----BEGIN CERTIFICATE REQUEST-----')

I added 'no inter CA x.509.txt' to my truststore, but also I can see that I need to add privetKeyEntry (old one expires soon) to my Java keystore, how can I do that from those files ? Seems like it's not possible as there's no private key and seems like I don't need csr file at all. Am I right that I need to request private key ?

Upvotes: 0

Views: 130

Answers (1)

no private key in certificates. Do you need it ? It depends on what you want to do. See this: https://superuser.com/questions/738817/how-do-i-convert-a-certificate-to-a-private-key

Upvotes: 1

Related Questions