  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | SSLSocket | SSLSocket 2005-07-04 - By Taco Fleur
Back I am trying to implement the SSLSocket class, when running the class I got the following error:
Error sun.security.validator.ValidatorException: No trusted certificate found
The people I am trying to communicate with only sent me a .key file, and they send me a link to their certificate http://edge1.asic.gov.au/edge/test/EIS_CAcert.pem
I am a complete newbie to Java, I used the keytool to import the key, just gave it an arbitrary name, not sure if I need to give it a specific name?
Also not sure whether I need to import the certificate EIS_CAcert.pem, and if so, how would I go about doing that?
__ ____ ____ ____ ____ ____ ____
Taco Fleur - E-commerce Development Manager
Shelco Searches & Services
An Authorised ASIC Information Broker
www.shelco.com.au
Ph: + 61 7 3236 2605
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas -microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} p.bodytext, li.bodytext, div.bodytext {margin-top:12.0pt; margin-right:0cm; margin-bottom:0cm; margin-left:2.0cm; margin-bottom:.0001pt; punctuation-wrap:simple; text-autospace:none; font-size:12.0pt; font-family:"Times New Roman";} @(protected) Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>I am trying to implement the SSLSocket class, when running the class I got the following error:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face=Arial><span style='font-size: 12.0pt;font-family:Arial;color:black'>Error sun.security.validator.ValidatorException: No trusted certificate found</span>< /font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p>< /span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Arial><span style='font-size:12.0pt; font-family:Arial'>The people I am trying to communicate with only sent me a .key file, and they send me a link to their certificate<br> </span></font><font size=2 color=black face=Arial><span style='font-size:11.0pt; font-family:Arial;color:black'>http://edge1.asic.gov.au/edge/test/EIS_CAcert .pem<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>I am a complete newbie to Java, I used the keytool to import the key, just gave it an arbitrary name, not sure if I need to give it a specific name?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Also not sure whether I need to import the certificate < /span></font><font size=2 color=black face=Arial><span style='font-size:11.0pt;font-family:Arial; color:black'>EIS_CAcert.pem, and if so, how would I go about doing that?</span> </font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p>< /span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'>__ ____ ____ ____ ____ ____ ____<o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Taco Fleur - <i><span style='font-style:italic'>E-commerce Development Manager</span></i><o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Shelco Searches & Services<o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>An Authorised ASIC Information Broker<o:p></o:p></span>< /font></p>
<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><a href="www.shelco.com.au">www.shelco.com.au</a><o:p></o:p> </span></font></p>
<p class=MsoAutoSig><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Ph: + 61 7 3236 2605<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html> =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|
 |