Import Certificat

Posted by big on
URL: http://erman-arslan-s-oracle-forum.114.s1.nabble.com/Import-Certificat-tp9272.html

Hi,
On R12.2 Weblogic 10.3.6
When I want to importe a certificat , I have the message: Already exist:

keytool error: java.lang.Exception: Certificate not imported, alias <OHSIntCA> already exists

Then

$ keytool -delete -alias OHSIntCA -keystore cacerts -v                  
  Enter keystore password:
Keystore entry "OHSIntCA" deleted
[Storing cacerts]

Then I importe:

$ keytool -import -alias OHSIntCA -file xxx-ttt.cer -trustcacerts -v -k
Enter keystore password:

But again

Certificate already exists in keystore under alias <xxx-ttt-PRD-2018>
Do you still want to add it? [no]:  yes
Certificate was added to keystore
[Storing cacerts]

I'm confused and need explanation.

Is it correct to answer yes when prompted: "Do you still want to add it? [no]:"?

Thank you.