Thank you for the reply. I am not behind any http proxies. Interesting point 
about the JDK version you use with NB 12. Does NB 12 support JDK 8? I looked 
around but don’t see any information on that. Am I missing something obvious?

 

Thanks

 

From: Fred Welland <[email protected]> 
Sent: Tuesday, June 23, 2020 1:49 PM
To: Jordan Conner <[email protected]>
Cc: [email protected]
Subject: Re: NetBeans 12 Distribution URL Certificate

 

Are you behind a DLP http proxy?    I am and the DLP I am behind messes with 
HTTPS traffic and certs. 

 

I've had to import a trusted cert at system level (also Fedora 31, but running 
selinux and firewalld).   

 

A few java programs I've run had this problem; just had this with JMeter a week 
or so ago.  I used keytool to import my DLP cert and the issue went away  
(JDK8). 

 

That said,  I am running NB 12 under JDK 14, and don't recall this with NB12; 
when I started using it a couple of weeks ago  (and don't' recall importing my 
DLP cert into my JDK14 install). 

 

HTH

 

 

 

On Tue, Jun 23, 2020 at 1:15 PM Jordan Conner <[email protected] 
<mailto:[email protected]> > wrote:

Hello,

 

Excited to try out NetBeans 12. I’ve downloaded the latest LTS release this 
morning. 

 

When selecting the ‘Check for Updates’ under Plugins menu I am receiving this 
error…

 

 

Unable to connect to the NetBeans Distribution because of 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target

 

The URL https://netbeans.apache.org/nb/updates/12.0/updates.xml.gz under 
Settings for my “NetBeans Distribution” portal works fine in the browser. I can 
download the .gz file no problem.

 

The same cert issue occurs with the NetBeans Plugin Portal.

 

 

My environment:

Fedora 31 - SELinux disabled, stopped firewalld

java version "1.8.0_45"

 

 

The only thing I’ve tried, is importing *.apache.org <http://apache.org>  .pem 
certificate into cacerts.

 

Is there a way to gather more information from the exception? I am behind a 
company firewall, but I figured if the URL worked in the browser then I’d be 
fine there. Also, checking for updates/plugins works fine in Netbeans 10, and 
11.2. 

 

Does anyone know what the issue may be?

 

Thank you

 

 

 

 

Reply via email to