• Post Reply Bookmark Topic Watch Topic
  • New Topic

SSL -- Could not find trusted certificate  RSS feed

 
Tommy Lee
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can visit the web page with IE
--https://www.chinatrust.com.tw/cgi-bin/prod/jsp/ch/home/default.jsp
when I try to connect it with java , I get exception .
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException:
Could not find trusted certificate
JAVA CODE
-------------------------
URL u = new URL("https","www.chinatrust.com.tw","/cgi-bin/prod/jsp/ch/home/default.jsp");
InputStream is = u.openStream();
 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to skirt around some SSL details by using this handy code:
http://jakarta.apache.org/commons/httpclient/
 
Ignacio Alc�zar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this link

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19298

Regards
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!