webMethods

webMethods

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.

 View Only
Expand all | Collapse all

Getting javaioIOException iaiksecuritysslSSLException Server certificate rejected by ChainVerifi ...

  • 1.  Getting javaioIOException iaiksecuritysslSSLException Server certificate rejected by ChainVerifi ...

    Posted Wed January 08, 2003 11:27 PM

    I am currently running Integration Server 4.6 and Trading Networks 4.6. When I try to connect to one of our vendors (who is running B2BServer 3.5.1) via https I get the following error:

    com.wm.app.b2b.server.ServiceException: java.io.IOException: iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier
    at pub.client.http(client.java:756)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:688)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:480)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:437)
    at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
    at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
    at wm.tn.transport.http(transport.java:170)
    at wm.tn.transport.primaryHttps(transport.java:451)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:688)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:450)
    at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
    at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
    at com.wm.app.tn.delivery.DeliveryUtils.invokeLocal(DeliveryUtils.java:930)
    at com.wm.app.tn.delivery.DeliveryUtils.invokeService(DeliveryUtils.java:569)
    at com.wm.app.tn.delivery.GuaranteedJob.invoke(GuaranteedJob.java:203)
    at com.wm.app.tn.delivery.JobMgr$JobExecutor.run(JobMgr.java:970)
    at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
    at java.lang.Thread.run(Thread.java:484)

    I don’t have the trusted store setup in IS, so I believe that the IS server should trust any certificates. I’m not using client certificates, I’m just trying to complete a simple SSL handshake between the two servers. The other weird thing I noticed is that the vendor we are connecting to is using X 509 version 1 certificates instead of the normal X 509 version 3 certificates. Does anyone know if IS 4.6 supports only Version 3 and not Version 1?

    Any info would be much appreciated.

    Thanks,

    Duain


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Getting javaioIOException iaiksecuritysslSSLException Server certificate rejected by ChainVerifi ...

    Posted Thu January 09, 2003 11:02 PM

    Duain - If I understand correctly, you are the SSL client and your B2B partner is the SSL server. And if that’s the scenario, you still have to have the server’s CA certificate in your client’s trusted store. This may be your problem. Just import the server’s CA cert into your client’s trusted store. For more info, check out page 106 in the IS Administrator’s Guide. Good luck.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Getting javaioIOException iaiksecuritysslSSLException Server certificate rejected by ChainVerifi ...

    Posted Tue November 04, 2003 06:37 AM

    I have a similar problem but I am trying to connect a client java app which uses client.jar to my IS server which has a https port. I can connect using internet explorer, but when I use the java app I get the following error…


    Server certificate rejected by ChainVerifier

    com.wm.util.LocalizedCertificateException: [B2BCORE.0009.9001] Certificate chain broken: not linked properly at com.wm.security.cert.wmChainVerifier.verifyChain(wmChainVerifier.java


    Can I set up a trusted store for my app? How?


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: Getting javaioIOException iaiksecuritysslSSLException Server certificate rejected by ChainVerifi ...

    Posted Tue February 24, 2004 02:39 PM

    Hi,

    I have posted a solution on this issue in the following link under:
    wMUsers Discussion Forums » Managing the webMethods Platform » Managing webMethods 6 » Bad Certificate

    [url=“wmusers.com”]wmusers.com

    Juan Zurita
    Novozymes IT
    Denmark


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 5.  RE: Getting javaioIOException iaiksecuritysslSSLException Server certificate rejected by ChainVerifi ...

    Posted Thu August 11, 2005 09:47 PM

    Similar problem…

    I am using just one IS as a test. Configured https port and certificates (the admin console bring up the page just fine on that port)

    I created a flow service, which uses pub.client:http and send byte data over https to the same box.

    I get this error: com.wm.app.b2b.server.ServiceException: java.io.IOException: iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods