Avatar of james henderson
james henderson
Flag for United States of America asked on

new java won't connect to site with sha1 certificate

I have an applet that is compiled and the jar file built with java 1.7.0_45.  The clients are all java 1.8.0_60.  I have signed the applet with an SHA256 certificate.  I have created the new DeploymentRuleSet.jar and signed that, placing it in the appropriate windows folder (windows\sun\java\deployment).  Everything is working correctly EXCEPT ...

I need to connect to a site running https.  it has a network solutions certificate that is only SHA1.  The applet keeps throwing a "connection reset" error.  I tried adding the certificate and thumbprint to the ruleset.xml file, re-building the jar file, and signing it, but then the java applet is not allowed to run at all due to security needing to be high or very high.

This is something I really need to get corrected today/tomorrow if possible.  I am new to the java security requirements now being enforced by Oracle, and I really need some guidance here.
Java

Avatar of undefined
Last Comment
james henderson

8/22/2022 - Mon
CEHJ

Try the following approach

appletviewer  -J-Djavax.net.debug=all http://foo.bar.com/applet.html

Open in new window

james henderson

ASKER
The problem is that the java 1.8 client won't let me connect to a website with an SHA1 certificate?  how do I get around that?
ASKER CERTIFIED SOLUTION
james henderson

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
james henderson

ASKER
I answered my own question.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck