Trusted Certificate Import Fails
Hi,
I am trying to import a trusted public certificate on FSPM v13.11.84108 on Windows Server 2016, but I am getting an alias error.
I have placed the .pfx file in the right location, and I am issuing this command in an elevated command prompt:
"C:\Program Files (x86)\F-Secure\Management Server 5\jre\bin\keytool" -importkeystore -destkeystore "C:\Program Files (x86)\F-Secure\Management Server 5\data\fspms.jks" -deststorepass superPASSWORD -destalias fspms -destkeypass superPASSWORD -srckeystore my.server.com.pfx -srcstoretype PKCS12 -srcstorepass pfx_password -srcalias my.server.com
I am getting this error:
Importing keystore my.server.com.pfx to C:\Program Files (x86)\F-Secure\Management Server 5\data\fspms.jks...
Existing entry alias fav exists, overwrite? [no]: y
keytool error: java.lang.Exception: Alias <my.server.com> does not exist
Can anyone see what I am doing wrong? Thanks.
Comments
-
Hi MIP,
Exception above says that keytool was unable to find alias <my.server.com> inside my.server.com.pfx. Make sure that your my.server.com.pfx contains signed certificate (with full chain of intermediate CA) and private key for it inside PKCS12 keystore and your certificate and private key is referenced by alias "my.server.com".
5
Categories
- All Categories
- 4.7K WithSecure Community
- 3.6K Products
- 1 Get Support