0

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 ?

Maksym
  • 4,434
  • 4
  • 27
  • 46
  • Key entries don't expire. Certificates expire. You don't have the customers private key. At least you shouldn't. No reason to have his CSR either, unless you're supposed to sign it. Unclear what you're asking. – user207421 Nov 25 '15 at 10:37

1 Answers1

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

Community
  • 1
  • 1