Trusted Certificate Import Fails



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 -srcstoretype PKCS12 -srcstorepass pfx_password -srcalias


I am getting this error:


Importing keystore 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 <> does not exist


Can anyone see what I am doing wrong? Thanks.



Best Answer

  • A-GrinkevitchA-Grinkevitch Posts: 162 F-Secure Employee
    Accepted Answer

    Hi MIP,

    Exception above says that keytool was unable to find alias <> inside Make sure that your 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 "".

This discussion has been closed.