From where can I get Keystore password?

kushal_dangare
Tera Expert

Hi,

I am doing Ldap integration via mid server. While doing that I faced one error. To resolve it I want to add SSL certificate to mid server. While running below command, its asking for Keystore password. From where can I get this keystore password.

find_real_file.png

4 REPLIES 4

andrew_venables
ServiceNow Employee
ServiceNow Employee

You are trying to import a certificate into a keystore at "H:\Program Files (x86)\ServiceNow\agent\jre\lib\security\cacerts", is this what you mean to do?

If so the creator/owner of that file will need to provide you the password for the keystore.

Typically the SSL certificates are added to the instance under X.509 certificates and then the instance will distribute them to the MID servers, so i'm not sure what you are doing is correct. Did you find some instructions somewhere perhaps?

Brad11
Tera Expert
The default keystore password is "changeit" (no quotes of course).

AdamRich
Tera Expert

i am having the same issue and I tried the password you stated but it is still not working, this is on a fresh installation of a midserver. How do I get around this? The red is just the server name redacted

AdamRich_0-1689947920597.png

 

MathiasRuehn
Tera Contributor

Hi, i think there a was a change some time ago. If you try to add additional sub and root certificates, that are missing for the midserver actions with java, you now have to use the -cacerts option. there is no additional Path to the keyfile. You will get a dump and have to type in yes, if everything is correct. The tool then imports your public key files. You have to use in der-format. Thats how it functions by me. Best regards Mathias