On 6/4/07, Raghu Upadhyayula <[EMAIL PROTECTED]> wrote:
Jon,
I'm getting the "unable to find valid certification path to requested target"
exception when trying to access my web service using https
From your email it looks like you were able to get this working and you
are looking for something else.
Can you please let me know what changes should I be doing for this to work?
Hey Raghu, figured i'd post back on the list since it can be searched
by someone later, hopefully that is ok with you...
Anyways, i can't comment on your actual program since i've still a new
with axis and have never tried to use SSL before. I can tell you how
i got mine working though.
Pretty much all i did was import my cert using keytool, as follows
$JAVA_HOME/bin/keytool -import -trustcacerts -alias "your_alias" -file
/path/to/server.crt -keystore $JAVA_HOME/lib/security/cacerts
This got rid of the "unable to find valid certification path to
requested target" exceptions and my webservice seems to work as
expected.
For my application though i can't be messing around with certs as it
will be a pain to deploy in the field, which is why i need to simply
tell axis to trust all certs.
Hope this helps.
Jon.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]