Converting API certificate to PEM format

You must convert the certificate received from your dedicated Kaspersky Technical Account Manager to PEM format before working with Kaspersky Threat Intelligence Portal API.

It is recommended that you use the OpenSSL toolkit to convert your certificate to PEM format.

To convert your certificate to PEM format in Windows,

Type the following string at the command prompt:

openssl.exe pkcs12 -in <certificate name>.pfx -clcerts -out ktl_lookup.pem -nodes

To convert your certificate to PEM format in Linux,

Execute the following command:

openssl pkcs12 -in <certificate name>.pfx -clcerts -out ktl_lookup.pem -nodes



<certificate name>

Name of your certificate.


Name of your certificate in PEM format.

Your ktl_lookup.pem certificate must be stored in the same directory where you store the ktl_lookup utility.

Page top