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.


#TechXchangePresenter
 View Only
  • 1.  SSL certificate via keytool

    Posted Thu December 10, 2015 10:25 AM

    I am using WM 9.7 and trying to generate cert,keystore,trust store for my POC purpose

    Threads :-
    http://tech.forums.softwareag.com/techjforum/posts/list/0/55162.page#204736

    Followed all steps mention in this threads but i m getting struck at step 9
    Kindly share knowledge

    I have generated certificate,public key and trust store for server1 and server2 as per the commands mention above
    BUT
    While I am trying to combine both public certs to the trust store as per the commands mention in Step 9

    Combine

    Step 9: Add both public cert to the truststore .
    keytool -import -alias Server1 -file D:\Certificates\Server1_publickey.cer -keystore D:\Certificates\Server2_trustore.jks ( This command is working good BUT 2nd commands failing with below exception)
    keytool -import -alias Server2 -file D:\Certificates\Server2_publickey.cer -keystore D:\Certificates\Server1_trustore.jks
    keytool -list -v -keystore D:\Certificates\Server2_trustore.jks

    Exception while combining both public certs to trust store? Pls explain why it’s failing or how to combine both public certs to trust store ?

    D:\webMethods\jvm\jvm\jre\bin>keytool -import -alias Server2 -file D:\Certificates\Server2_publickey.cer -keystore D:\Certificates\Server1_trustore.jks
    Enter keystore password:
    keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect

    Note : password used while generating cert is same and correct, so i don’t believe it was failing bcoz of password issue


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 2.  RE: SSL certificate via keytool

    Posted Fri December 11, 2015 03:12 AM

    Rajiv – Can you check is there any issue with Jetty.xml as earlier i had observed this error because of jetty.xml issue.

    Thanks,


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: SSL certificate via keytool

    Posted Fri December 11, 2015 06:11 AM

    Sorry MR i didn’t get you.

    Is there any connection between Jetty.xml and this certificate issue?
    can you share navigation path where is this xml location?

    OR Can you try these commands at you end?


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 4.  RE: SSL certificate via keytool

    Posted Fri December 11, 2015 06:35 AM

    Rajiv – Earlier I had some sort of issue while working with certificates, got similar exception, during that time we edited file jetty.xml which was located @ ( \wM82\des-workplace.metadata.plugins\com.webMethods.caf.server.wmportal\previewserver\config) loc. Please do check this file. I don’t remember what I did to resolve the issue.

    Thanks,


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB