IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  GET HTTPS

    Posted 05/31/11 10:13 AM

    Hello,

    How to create a service that can call the HTTPS?

    I defined my certificate in " security-> certificates-> configure customer certificates " >> certificat.cer

    I would like to know how to request HTTPS.
    I read that it was necessary to make:

    1 °) To Use the service pub.security:setKeyAndChain

    2 °) Make a http requete normal with pub.client:http

    3 °) To Use the service pub.security:setKeyAndChain

    How works pub.security:setKeyAndChain because I do not understand what I have to put in privKeyFile and certFiles ?

    Thank you for your help.


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: GET HTTPS

    Posted 05/31/11 11:25 PM

    Maxime: I recomend you to read 8-0-SP1_Administering_Integration_Server.pdf chapter 14.

    Step1) Create a keystore with the keytool command.
    Step2) Export the certificate .cer (keytool)
    Step4) Import the certificate into the trustStore (keytool)
    Step3) Configure a keystore and trustStore in IS.

    Read the chapter, do this things and come back for more help in case you need it.

    Best regards


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: GET HTTPS

    Posted 07/07/11 12:49 PM

    Hello,

    I am trying to set a Client Certificate with setKeyAndChain.

    I generated and self-signed the keys with openssl following the instructions at 2008 | Code Ghar…-with-openssl/. Then I converted them to DER format and imported them to the local windows “Trusted Root Certification Authorities” keystore ,.

    From my opinion everything looks ready for the two-way handshake (the one-way handshake works if the partner abandons the client certificate).

    But I always get a “java.io.IOException: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: certificate unknown” exception.

    Is there a HowTo that describes the creation of self-signed certs and the use of the setKeyAndChain service? Could you please describe step by step if not?

    Thanks in advance,
    Daniel Winz


    #Integration-Server-and-ESB
    #webMethods