IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Make a request with certificate in Info Map

    Posted 10/28/21 05:03 AM
    Dears,
    I try to make a HTTPS request using HTTP Cilent package in InfoMap but I face an issue as I can't pass the certificate.
    I need an example for import certificate in ISAM and get it in InfoMap then pass it to the request.

    ------------------------------
    mohamed ghonem
    ------------------------------


  • 2.  RE: Make a request with certificate in Info Map

    Posted 10/28/21 07:12 AM
    Hi Mohamed,

    The certificate needs to be imported to a key database using LMI.  You can import a "Personal Certificate" from a .p12 file.

    In your InfoMap code you will need to use a call like this:

    httpGet(java.lang.String urlstr, Headers headers, java.lang.String httpsTrustStore, java.lang.String basicAuthUsername, java.lang.String basicAuthPassword, java.lang.String clientKeyStore, java.lang.String clientKeyAlias)

    The clientKeyStore is the name of the keystore (without .jks appended) and the clientKeyAlias is the label of the client certificate to present.

    Jon.


    ------------------------------
    Jon Harry
    Consulting IT Security Specialist
    IBM
    ------------------------------