title: javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received
body: <p>I am getting this below error when trying to access an WSDL endpoint.</p>
  
  <p>First I have created the client jar using cliengen ant task and then created a simple java class to test the wsdl end point and I am getting below error-</p>
  
  <pre><code>javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unuseable certificate was received.
      at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknown Source)
      at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown Source)
      at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
      at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown Source)
      at com.certicom.tls.record.MessageInterpreter.interpretContent(Unknown Source)
      at com.certicom.tls.record.MessageInterpreter.decryptMessage(Unknown Source)
      at com.certicom.tls.record.ReadHandler.processRecord(Unknown Source)
      at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
      at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
      at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
      at com.certicom.tls.record.WriteHandler.write(Unknown Source)
      at com.certicom.io.OutputSSLIOStreamWrapper.write(Unknown Source)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
      at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105)
      at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
      at weblogic.webservice.binding.soap.HttpClientBinding.writeToStream(HttpClientBinding.java:430)
      at weblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBinding.java:219)
      at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHandler.java:37)
      at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:143)
      at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:231)
      at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:143)
      at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:471)
      at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
      at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:303)
  </code></pre>
  
  <p>Can anyone help?</p>