Layer7 API Management

 View Only
  • 1.  JKS certificates

    Posted Sep 17, 2019 12:39 AM
    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

    Broadcom Employee
    Posted Sep 17, 2019 08:39 AM
    Edited by Christopher Hackett Sep 18, 2019 05:28 PM
    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.