<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:12pt"><div>My understanding is that I should not need to do anything on the client to make it work. Please note that this is a valid certificate from a real CA.  The use of an intermediate certificate (although very annoying) is sometimes used, and is normal. Although, the only other company i've used were i needed to use an intermediate cert was through verisign.<br><br>I think i may have mistakenly thought that jxplorer would use the same source of trusted CA's as the os.  Now that i'm looking into some of the settings, I see it actually only has a handful of CA certs.<br><br><br><br></div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2"
 face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Rich Megginson <rmeggins@redhat.com><br><b><span style="font-weight: bold;">To:</span></b> General discussion list for the 389 Directory server project. <fedora-directory-users@redhat.com><br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, July 8, 2009 10:11:26 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [389-users] Recover after installing a bad cert.<br></font><br>
Dumbo Q wrote:<br>> Of course, it would help if i trusted the intermediate cert.<br>> certutil -M -t "CT,," -d . -n "UTN-USERFirst-Hardware - AddTrust AB"<br>> certutil -M -t "CT,," -d . -n "PositiveSSL CA - The USERTRUST Network"<br>> <br>> <br>> After doing this I tried an ldapsearch -H ldaps://....<br>> ldapsearch worked with no problem.<br>> My ldap client "Jxplorer"  could not connect however. It complained with the following..<br>> <a target="_blank" href="http://javax.net">javax.net</a>.ssl.SSLHandshakeException: java.security.cert.CertificateException: Invalid Server Certificate: server certificate could not be verified, and the CA certificate is missing from the certificate chain.<br>> <br>> A partial success i guess.<br>Does Jxplorer have the CA cert?<br>> <br>> ------------------------------------------------------------------------<br>> *From:* Dumbo Q <<a ymailto="mailto:dumboq@yahoo.com"
 href="mailto:dumboq@yahoo.com">dumboq@yahoo.com</a>><br>> *To:* Ryan Braun [ADS] <<a ymailto="mailto:ryan.braun@ec.gc.ca" href="mailto:ryan.braun@ec.gc.ca">ryan.braun@ec.gc.ca</a>>; <a ymailto="mailto:fedora-directory-users@redhat.com" href="mailto:fedora-directory-users@redhat.com">fedora-directory-users@redhat.com</a><br>> *Sent:* Wednesday, July 8, 2009 4:57:49 PM<br>> *Subject:* Re: [389-users] Recover after installing a bad cert.<br>> <br>> Thanks that did it.<br>> <br>> I just can't seem to get this certificate working.  Here is the most recent way that i have tried.<br>> cat bundle.crt >> new.crt    ## bundle, being the chain certificates provided by the CA<br>> cat rhds.crt >> new.crt    ## rhds being the actual cert provided by the CA<br>> openssl verify new.crt   ## turned out OK<br>> <br>> openssl pkcs12 -export -in new.crt -inkey <a target="_blank"
 href="http://rhds.example.com">rhds.example.com</a><span> <<a target="_blank" href="http://rhds.example.com.ke%3E.key">http://rhds.example.com.ke>.key</a>  -out rhds.example.com-PSSL.p12</span><br>> <br>> pk12util -i /root/certs/rhds.example.com-PSSL.p12 -d .<br>> certutil -L -d .<br>> Certificate Nickname                                         Trust Attributes<br>>                                                              SSL,S/MIME,JAR/XPI<br>> <br>> <br><span>> rhds.example.com <<a target="_blank" href="http://rhds.example.com">http://rhds.example.com</a>> - Comodo CA Limited                 
 u,u,u</span><br>> PositiveSSL CA - The USERTRUST Network                       ,,<br>> UTN-USERFirst-Hardware - AddTrust AB                         ,,<br>> <br>> <br>> Still the same error when i try to use this cert.  Am I doing something wrong?<br>> <br>> <br>> <br>> ------------------------------------------------------------------------<br>> *From:* Ryan Braun [ADS] <<a ymailto="mailto:ryan.braun@ec.gc.ca" href="mailto:ryan.braun@ec.gc.ca">ryan.braun@ec.gc.ca</a>><br>> *To:* <a ymailto="mailto:fedora-directory-users@redhat.com" href="mailto:fedora-directory-users@redhat.com">fedora-directory-users@redhat.com</a><br>> *Cc:* Dumbo Q <<a ymailto="mailto:dumboq@yahoo.com" href="mailto:dumboq@yahoo.com">dumboq@yahoo.com</a>><br>> *Sent:* Wednesday, July 8, 2009 2:50:10 PM<br>>
 *Subject:* Re: [389-users] Recover after installing a bad cert.<br>> <br>> On July 8, 2009 06:19:55 pm Dumbo Q wrote:<br>> > I just installed a new ssl certificate using pk12util.  I restarted my<br>> > dirsrv, and picked the new cert in the dropdown menu under the encryption<br>> > tab.  I restarted dirsrv to make it take affect.  When I did this, I found<br>> > that the root certificate was not in redhats/openssls ca-bundle.  I tried<br>> > importing the intermediate certificate, and I think I just made the problem<br>> > worse.<br>> ><br>> > right now im getting the following.<br>> >  SSL alert: CERT_VerifyCertificateNow: verify certificate failed for cert<br>> > rhds.example.com <<a href="http://rhds.example.com" target="_blank">http://rhds.example.com</a>> - Comodo CA Limited of family<br>> > cn=RSA,cn=encryption,cn=config (Netscape Portable
 Runtime error -8179 -<br>> > Peer's Certificate issuer is not recognized.) [08/Jul/2009:14:18:04 -0400]<br>> > - SSL failure: None of the cipher are valid<br>> ><br>> ><br>> > Now my directory is down completely.  How can I get it to start up without<br>> > SSL so that I can fix the problem?<br>> <br>> Make sure you backup /etc/dirsrv/INSTANCE/dse.ldif<br>> <br>> then edit that file and look for<br>> <br>> nsslapd-security: on<br>> <br>> change to<br>> <br>> nsslapd-security: off<br>> <br>> save file,  restart service and ssl should be turned off.  Keep in mind<br>> whatever caused the ssl config to puke in the first place is still there :)<br>> <br>> Ryan<br>> <br>> <br>> ------------------------------------------------------------------------<br>> <br>> --<br>> 389 users mailing list<br>> <a ymailto="mailto:389-users@redhat.com"
 href="mailto:389-users@redhat.com">389-users@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/fedora-directory-users" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a><br>>   <br><br></div></div></div><br>

      </body></html>