Results 1 to 6 of 6
  1. #1
    jamesEdwards is offline Member
    Join Date
    Jan 2009
    Posts
    4
    Rep Power
    0

    Exclamation HTTPS & Keytool too

    Hello,

    I have spent a lot of time trying to find an answer now and im hoping someone can help me. I am getting the error.

    sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderE xception: unable to find valid certification path to requested target

    The HTTPS site i am connecting to does have a valid SSL certificate from godaddy never the less it looks as though I need to configure my JAVA app to add this certificate in order to connect. Locally this is fine but I want to be able to deploy this to multiple servers and have the application automatically configure the keytool etc on first run. I have used part of this tutorial:

    blogs.sun.com/andreas/entry/no_more_unable_to_find

    But still not getting any further much is appreciated.

    James

  2. #2
    norman is offline Member
    Join Date
    Jan 2009
    Posts
    3
    Rep Power
    0

    Default

    Hi,

    The solution to this problem is discussed at www dot java-samples dot com site.
    I am unable to post the link as I have not posted more than 20 links. However you can search that site I have mentioned above with this text javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: and you should find the right tutorial.

    good luck

  3. #3
    jamesEdwards is offline Member
    Join Date
    Jan 2009
    Posts
    4
    Rep Power
    0

    Default

    Hello,

    thanks for your responce but there is an error with that site atm. Any other solutions?

  4. #4
    norman is offline Member
    Join Date
    Jan 2009
    Posts
    3
    Rep Power
    0

    Default

    Hi

    what do you mean by 'error' at site atm ???

  5. #5
    jamesEdwards is offline Member
    Join Date
    Jan 2009
    Posts
    4
    Rep Power
    0

    Default

    Hello,

    I did access the site eventualy but the tutorial on using the keytool is not what im looking for. I want to JAVA app to manage and install the SSL issues as it goes rather than correcting them manauly.

  6. #6
    jamesEdwards is offline Member
    Join Date
    Jan 2009
    Posts
    4
    Rep Power
    0

    Default

    Problem has been solved. certificates are now added automaticaly.

Similar Threads

  1. Usage of HTTPS
    By Sayed in forum Advanced Java
    Replies: 8
    Last Post: 12-06-2008, 11:02 AM
  2. https client
    By karine in forum Advanced Java
    Replies: 6
    Last Post: 10-31-2008, 01:41 PM
  3. HTTPS using certificate
    By MCJP in forum Advanced Java
    Replies: 1
    Last Post: 09-25-2008, 02:48 PM
  4. JDK 1.3 with HTTPS
    By sriram in forum Advanced Java
    Replies: 2
    Last Post: 01-21-2008, 11:51 PM
  5. KeyTool IUI 2.0
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 07-01-2007, 10:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •