Layer 7 API Management

Expand all | Collapse all

JKS certificates

Jump to Best Answer
  • 1.  JKS certificates

    Posted 28 days ago
    HI Team,

    Can someone please help me with below situation:

    I have a JKS cert and i need to place it for ServiceNOw API now i am not sure do i need to place in Manage Certs or where and how to deal with JKS.

    Thanks
    Prat


  • 2.  RE: JKS certificates
    Best Answer

    Posted 27 days ago
    Edited by Ozan Okan 26 days ago
    Dear Pratyush,


    You need to export certificate from jks store using following command as explained in below link:
    https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html

    keytool -export -alias mydomain -file mydomain.crt -keystore keystore.jks

    You need to know which alias is used for ServiceNow and use corresponding alias. It will create mydomain.crt

    You can then convert it to pem format with openssl, which can be used by gateway. 

    openssl x509 -in mydomain.crt -out mydomain.pem -outform PEM

    Afterwards in policy manager goto Tasks->Certificates,Keys and Secrets->Manage Certificates to import this certificate.


    Regards.