Topic
  • 2 replies
  • Latest Post - ‏2012-12-11T03:25:59Z by SystemAdmin
shebi
shebi
3 Posts

Pinned topic Best way to configure axis2 client pointing to SSL based web service

‏2012-12-04T04:15:50Z |
Hi,

Please share the recommended way to setup SSL based axis2 client.
Thanks.
Updated on 2012-12-11T03:25:59Z at 2012-12-11T03:25:59Z by SystemAdmin
  • shebi
    shebi
    3 Posts

    Re: Best way to configure axis2 client pointing to SSL based web service

    ‏2012-12-04T04:20:36Z  
    Just to inform the SSL client is deployed on IBM Websphere 6.1
  • SystemAdmin
    SystemAdmin
    1677 Posts

    Re: Best way to configure axis2 client pointing to SSL based web service

    ‏2012-12-11T03:25:59Z  
    • shebi
    • ‏2012-12-04T04:20:36Z
    Just to inform the SSL client is deployed on IBM Websphere 6.1
    You need to import certificate to trust store : follow below process :

    1. Log into the administrative console.
    2. Expand Security and click SSL certificate and key management. Under Configuration settings, click Manage endpoint security configurations.
    3. Select the appropriate outbound configuration to get to the (cell):Divyesh-XPSNode02Cell:(node):Divyesh-XPSNode02 management scope.
    4. Under Related Items, click Key stores and certificates and click the NodeDefaultTrustStore key store.
    5. Under Additional Properties, click Signer certificates and Retrieve From Port.
    6. In the Host field, enter aftersales.fiat.com in the host name field, enter 443 in the Port field, and aftersales.fiat.com_cert in the Alias field.
    7. Click Retrieve Signer Information.
    8. Verify that the certificate information is for a certificate that you can trust.
    9. Click Apply and Save.

    If you are calling webservice using proxy. Configure below system properties in JVM :

    com.ibm.ws.websvcs.transport.enableProxyTunnel true ( This only work if done @ JVM level )

    https.proxyHost xxxxxx.com ( This you can set from code also )

    https.proxyPort 9080 ( This you can set from code also )