Re: Encountered problems whlie connecting to update center

2023-07-21 Thread Neil C Smith
On Fri, 21 Jul 2023 at 08:13, Vincent Shiu  wrote:
> I have googled but found nothing useful to fix the problem.  Is there anyone 
> know how to fix this?

What JDK are you using?  I suspect it's an old JDK that doesn't
support Let's Encrypt certificates.

Best wishes,

Neil

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Encountered problems whlie connecting to update center

2023-07-21 Thread Antonio

Hi,

The message is quite explicit: the JDK PKI stuff cannot validate the 
certificate of the update center. We may want to improve this message, 
though. In order to do so please forward us a complete stack trace.


Of course, the update center has a valid certificate (and certificate 
chain). What may be happening is that your system has a 
man-in-the-middle proxy that is hickjacking our valid certificates. This 
may happen if you have zScaler installed, for instance. In this 
situation there's nothing we can do from the NetBeans side: you should 
be talking to your system administrators to whitelist the NetBeans 
Update Center in your proxy.


Cheers,
Antonio

On 21/7/23 9:12, Vincent Shiu wrote:
I'm using Netbeans 17 and 18 currently,  but I encountered problem while 
I try to connect to update center since version 16. I got the following 
message from netbeans.


"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"


I'm pretty sure it's not blocked by any firewall. I have to visit 
plug-in website and download plug-ins then install manually.


I have googled but found nothing useful to fix the problem.  Is there 
anyone know how to fix this?


Thanks and regards

Vincent


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Encountered problems whlie connecting to update center

2023-07-21 Thread Vincent Shiu
I'm using Netbeans 17 and 18 currently,  but I encountered problem while I
try to connect to update center since version 16. I got the following
message from netbeans.

"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"

I'm pretty sure it's not blocked by any firewall. I have to visit plug-in
website and download plug-ins then install manually.

I have googled but found nothing useful to fix the problem.  Is there
anyone know how to fix this?

Thanks and regards

Vincent