Error while configuring SSL (219 Views)
Reply
Frequent Advisor
abhin88
Posts: 102
Registered: ‎01-07-2013
Message 1 of 5 (219 Views)

Error while configuring SSL

Hello All

 

I am configuring SSL for HP Service manager 9.32 . I am encountering an error when I do the below step.

 

Run the following command:
keytool -import -keystore ./cacerts -trustcacerts -file mycacert.pem -
storepass changeit
When prompted, type: y to trust the root CA’s certificate.
The root CA certificate is added to the Java cacerts file.

 

The error is given below

 

keytool error: java.io.FileNotFoundException: mycacert.pem (The system cannot find the file specified)

 

Any help will be appreciated 

 

Abhinav

 

Acclaimed Contributor
Dennis Handly
Posts: 25,290
Registered: ‎03-06-2006
Message 2 of 5 (198 Views)

Re: Error while configuring SSL

>keytool error: java.io.FileNotFoundException: mycacert.pem (The system cannot find the file specified)

 

You need to change the command to point to path of mycacert.pem:

keytool -import -keystore ./cacerts -trustcacerts -file mycacert.pem -storepass changeit

Frequent Advisor
abhin88
Posts: 102
Registered: ‎01-07-2013
Message 3 of 5 (181 Views)

Re: Error while configuring SSL

Hi dennis

The path is of the mycacert.pem's location. I am still getting the error ?

Abhinav
HP Expert
lisajo
Posts: 480
Registered: ‎02-15-2010
Message 4 of 5 (170 Views)

Re: Error while configuring SSL

Hi

 

By chance

Do you have write access to the directory where keytool attempts to create the file? Or maybe the file exists already, and your permissions are not sufficient to overwrite it?  

"HP Support
If you find that this post or any post resolves your issue, please make sure to mark it as an accepted solution."
Acclaimed Contributor
Dennis Handly
Posts: 25,290
Registered: ‎03-06-2006
Message 5 of 5 (158 Views)

Re: Error while configuring SSL

[ Edited ]

>The path is of the mycacert.pem's location.

 

This is not a path but only a filename.  It it would only be valid if you were in that directory.

 

>Do you have write access to the directory

 

Hard to believe since it is blowing up trying to find mycacert.pem, not ./cacerts.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.