Hello, I am trying to invoke a secured webservice https://example.com using axis2 and get the below exception. Looks like the certificate is not there in the trust store but not sure how to accept the certificate automatically when invoking the webservice. Please help me regarding this.
Below is the exception trace I am get when invoking the service in websphere. SSL HANDSHAKE FAILURE: A signer with SubjectDN "CN=ecs.amazonaws.com, O=Amazon.com Inc., L=Seattle, ST=Washington, C=US" was sent from target host:port "null:null". The signer may need to be added to local trust store "C:/Program Files/IBM/SDP/runtimes/base_v7/profiles/hub20/config/cells/localhostNode01Cell/nodes/localhostNode01/trust.p12" located in SSL configuration alias "NodeDefaultSSLSettings" loaded from SSL configuration file "security.xml". The extended error message from the SSL handshake exception is: "PKIX path building failed: java.security.cert.CertPathBuilderException: invalid certificate, key identifier is missing from authority key identifier extension". Thanks in Advance Senthil