hi, I am trying to hit webservices from java standalone alone. When I am invoking the url with http it is fine. But I want to use https to invoke the webservices. I have the security certificate but not sure how to use it. Another thing is I dont want a Yes /No prompt for security which comes when we hit with https. I want the validation to happen and bypass this prompt. I am using a standalone java class so need to bypass the prompt. Please help with security certificate. Thanks.
Neha Verma
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
In a non-browser client there will be no yes/no question about accepting certificates - it is either accepted or rejected (in which case there won't be a connection).
An introduction of how to install and use HTTPS with a Tomcat-based WS can be found in this SAAJ introduction.