wood burning stoves 2.0
The moose likes Web Services and the fly likes Axis client - fails to authenticate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis client - fails to authenticate" Watch "Axis client - fails to authenticate" New topic

Axis client - fails to authenticate

harish deshpande

Joined: Mar 02, 2005
Posts: 1
I have developed an axis client that works over https. Now the customer wants the client to authenticate itself. This is not working.

Here is what I have done.
Generated a self signed certificate using JDK/keytool.
Had the customer import this certificate into their server trust store.
Imported the same certificate into the clients keystore.
When I invoke the webservice I get the unauthorized error. The customer reports that the client is not sending the certificate.
What step am I missing? Please help.

Thanks in advance.

Thanks and have a nice day.<br />Harish Deshpande
Bill Werth

Joined: Jul 14, 2004
Posts: 5
Lots of ways this can fail. One I've seen is that you don't use exactly the same name for the server in the client as is defined in the certificate. Even though you may be able to access the server several ways (ip address, etc.), only the same exact name as in the certificate will work.
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

This is a question for the Security forum, i would think.

Please ignore post, I have no idea what I am talking about.
I agree. Here's the link: http://aspose.com/file-tools
subject: Axis client - fails to authenticate
It's not a secret anymore!