Hi
i spend xx hours on solving this
problem,
perhaps someone of you knows the solution, it would be really great!
i have a application which tries to send an XML-Report via https to a cgi page on a apache web server over https.
the apace webserver has a self certifed certificate, which was created with openssl
i stored succesfully the selfmade certificate with keytool to %java_home%\jre\lib\security\cacerts (on win2000)
in my application i have sth. like this
when i try to get Streams of urlcon1 an Exception is thrown:
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Couldn't find trusted certificate
why is this? doesn't my application find the cacerts file?
or is this because the certficate is selfmade?
if anyone has experience in ssl,https etc. please reply!
Greetings
Marek
[ November 24, 2003: Message edited by: marek duda ]