Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.security > #295

HTTPS: with Java

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.security
Subject HTTPS: with Java
Date 2014-08-20 03:06 -0700
Organization Canadian Mind Products
Message-ID <17s8v952g9tu0vdra3imloan8m9misqqqm@4ax.com> (permalink)

Show all headers | View raw


I can connect to https://handbrake.fr/appcast.i386.xml

with chrome. It tells me he is using a startcom class 2 certificate,
128 bit encryption, TLS 1.0, RC4_128, SHA1, RSA

CN = StartCom Class 2 Primary Intermediate Server CA
OU = Secure Digital Certificate Signing
O = StartCom Ltd.
C = IL

I went to http://www.startssl.com/certs and downloaded what I believed
to be the corresponding root cert: sub.class2.server.ca.crt

I imported it into .keystore.


But Java still said 
HandBrake response -1 no connect : 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 from
https://handbrake.fr/appcast.i386.xml 

What is the magic spell to let me read that page?

Site after site is going to HTTPS. I don't know why. The information
is public. It defeats caching.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Errors using inadequate data are much less than those using no data at all. 
~ Charles Babbage (born: 1791-12-26 died: 1871-10-18 at age: 79)

Back to comp.lang.java.security | Previous | NextNext in thread | Find similar


Thread

HTTPS: with Java Roedy Green <see_website@mindprod.com.invalid> - 2014-08-20 03:06 -0700
  Re: HTTPS: with Java Roedy Green <see_website@mindprod.com.invalid> - 2014-08-20 07:43 -0700

csiph-web