Service Manager / Service Center Practitioners Forum
cancel

Error while configuring SSL

Highlighted
abhin88
Honored Contributor.

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

 

Kindly assign kudos if the post is helpful!
4 REPLIES
Dennis Handly
Acclaimed Contributor.

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

abhin88
Honored Contributor.

Re: Error while configuring SSL

Hi dennis

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

Abhinav
Kindly assign kudos if the post is helpful!
lisajo
Micro Focus Expert

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."
Dennis Handly
Acclaimed Contributor.

Re: Error while configuring SSL

>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.