Forum Discussion

rfransix's avatar
rfransix
Occasional Contributor
13 years ago

java keystore peer not authenticated

soapUI 4.0.2 SNAPSHOT, keystore built using openssl and keytool.

When I submit a simply verifyUser request that is signed by the PrivateKeyEntry <Signature> in the keystore, this error results. Apache on the opposite end works fine using the server and authority cert (the authority cert is the only other cert in the keystore).

What's the problem?

Sun Jan 08 21:13:04 CST 2012:ERROR:javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(Unknown Source)
at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:390)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:109)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:219)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:195)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

7 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    hmm.. we made a fix related to this just a couple of days ago - when did you download the nightly?

    regards!

    /Ole
    SmartBear Software
  • rfransix's avatar
    rfransix
    Occasional Contributor
    Help --> check for updates --> version check says "you are running the latest version of soapUI!"

    by the way, openssl s_client -connect <FQDN:443>

    returns no errors, connects fine, and shows the public key, closes fine too.

    want to see that output, just ask.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    the version check only checks released versions, not nightly builds - can you give it a try?

    regards,

    /Ole
    SmartBear Software
  • I'm having the same problem with soapUI 4.5.0, Build [internal], Build Date 2012/03/26 16:10

    Which was quite a surprise after authticating with the same credentials successfully with soapUI 4.0.1,

    Has the procedure for entering the keystore/pw changed?
  • rtruitt's avatar
    rtruitt
    New Contributor
    I have the same problem.
    Versions 4.0.0 and 4.0.1 didn't have this 'peer not authenticated' problem.
    Versions 4.0.2 and 4.5.0 have this problem.
  • Please - let know if this has been solved!? Realy important...