- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUXJDKJRE80 JDK_8.0.23 fail connecting to maven.o...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2022 10:47 AM
тАО03-31-2022 10:47 AM
HPUXJDKJRE80 JDK_8.0.23 fail connecting to maven.org with error javax.net.ssl.SSLHandshake
When using HP JDK_8.0.23 default truststore for downloading articfacts from https://repo1.maven.org, we get the error
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
The testcase build.xml:
<project name="test-download" xmlns:ivy="antlib:org.apache.ivy.ant" default="resolve">
<target name="download-ivy" unless="offline">
<!-- download Ivy from web site so that it can be used even without any special installation -->
<get src="https://repo1.maven.org/maven2/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar"
dest="ivy-2.5.0.jar" usetimestamp="true" verbose="true"/>
</target>
</project>
The download succeeds when we use the default truststore from a OracleJDK 8 version.
ANT_OPTS=-Djavax.net.ssl.trustStore=<OracleJDK 8 install location>/jre/lib/security/cacerts
Why doesn't HP JDK_8.0.23 contain the default truststore from OracleJDK 8?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2022 11:39 PM
тАО04-03-2022 11:39 PM
Re: HPUXJDKJRE80 JDK_8.0.23 fail connecting to maven.org with error javax.net.ssl.SSLHands
@szhong Is your query on HP UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2022 07:54 AM
тАО04-04-2022 07:54 AM
Re: HPUXJDKJRE80 JDK_8.0.23 fail connecting to maven.org with error javax.net.ssl.SSLHands
@techinThis query is on HP UX.
# uname -r
B.11.31
# swlist HPUX*OE*
# HPUX11i-DC-OE B.11.31.1705 HP-UX Data Center Operating Environment
HPUX11i-DC-OE.OE B.11.31.1705 HP-UX OE control script product
HP JDK Used: https://myenterpriselicense.hpe.com/cwp-ui/free-software/JDKJRE8023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2022 07:57 AM
тАО04-06-2022 07:57 AM
Re: HPUXJDKJRE80 JDK_8.0.23 fail connecting to maven.org with error javax.net.ssl.SSLHands
This may require further troubleshooting, you may contact HPE and open a case for this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2022 12:45 PM
тАО05-11-2022 12:45 PM
Re: HPUXJDKJRE80 JDK_8.0.23 fail connecting to maven.org with error javax.net.ssl.SSLHands
I am unable to open a case for this. It is pretty obvious by looking at the number of certficates in the HP JDK trust store that it is the cause of the failure (HP JDK doesn't have the certficated required).
$ keytool -list -keystore <path_to_oracle_jdk>/jdk1.8.0_112/jre/lib/security/cacerts
...
Your keystore contains 104 entries
...
While on HP JDK
$ keytool -list -keystore <path_to_HP_JDK>/jdk_1.8.0.23/opt/java8/jre/lib/security/cacerts
...
Your keystore contains 59 entries
...
There are 45 less entries in HP JDK than the Oracle JDK distribution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2022 01:27 AM
тАО05-18-2022 01:27 AM
Re: HPUXJDKJRE80 JDK_8.0.23 fail connecting to maven.org with error javax.net.ssl.SSLHands
Hello @szhong,
Kindly click the below link to contact HPE Support:
https://support.hpe.com/help/en/Content/supportAndOtherResources.html
https://www.hpe.com/psnow/doc/A00039121ENW
https://www.hpe.com/in/en/contact-hpe.html
Technical Support phone numbers
Contact Information is mentioned below for your reference:
Contact HPE Support: 1-800-633-3600
Contact HPE Sales: 000 800 040 1716
Thank you for your persistent co-operation.
Sunitha G
I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]