[zanata-bugs] [Bug 1180941] New: RFE: auto import missing SSL certificates to keystore

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 12 01:15:32 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1180941

            Bug ID: 1180941
           Summary: RFE: auto import missing SSL certificates to keystore
           Product: Zanata
           Version: 3.4
         Component: Component-zanata-client
          Assignee: djansen at redhat.com
          Reporter: pahuang at redhat.com
        QA Contact: zanata-qa at redhat.com
                CC: zanata-bugs at redhat.com



Description of problem:
When connecting to a https server, if the certificate is not in keystore, it
will fail with exception:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: 
PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target

Version-Release number of selected component (if applicable):
3.4.0-

How reproducible:
Always

Steps to Reproduce:
1. Make a self signed certificate and deploy to a test server
2. Try to connect to it using zanata client

Actual results:
SSLHandshakeException

Expected results:
Prompt the server certificate digest etc and ask if the user trust it and
willing to add it to the keystore (maybe password protected). If user agrees
then import the certificate chain to the store.

Additional Information:
Code sample that may be borrowed: 
https://code.google.com/p/java-use-examples/source/browse/trunk/src/com/aw/ad/util/InstallCert.java

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Nfn3qyDaZc&a=cc_unsubscribe




More information about the zanata-bugs mailing list