Hello:

I am using a self-signed cert on my Axis server.

In my Axis client, I am setting the axis.socketSecureFactory property
to use my own SSL Socket Factory:
    AxisProperties.setProperty("axis.socketSecureFactory",
        "com.jammconsulting.net.TrustAllSslSocketFactory");

But I am still getting errors about the certificate.

In the stack trace, I see these lines:

com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509Tru
stManagerImpl.java:209)
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509Tru
stManagerImpl.java:249)
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandsh
aker.java:954)

These classes should not be called since it should use my class
instead.

I am using Axis 1.4

Any ideas?

Thanks,
        Neil

--
Neil Aggarwal, (281)846-8957
FREE trial: Wordpress VPS with unmetered bandwidth
http://UnmeteredVPS.net/wordpress


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to