In my case, I could not open Eclipse Marketplace and got the same error reported in the question of this thread. I was able to solve this problem by getting instructions from the admin since I am connected using VPN. If I disconnect the VPN, it will work without any problem. I am using Eclipse Version: 2022-09 (4.25.0) - Build id: 20220908-1902
.
Steps (Windows):
- Get the certificate definition files and store them under this folder for example:
<user-home>\.certificate\my-certs.pem
. If you have more than one certificate, combine the definitions in this file my-cert.pem
. In my case I was provided two certificates, they are XXXROOTCA
and XXXCERTnn
.
- If you have more than one certificate, store each in a separate file in the same folder for example
file1.crt
and file2.crt
.
- From the command line with admin rights, use the Java
keytool
to import the certificates:
%JAVA_HOME%\bin\keytool -import -alias XXXROOTCA -file %HOME%\.certificates\file1.crt -cacerts
%JAVA_HOME%\bin\keytool -import -alias XXXCERTnn -file %HOME%\.certificates\file2.crt -cacerts
Note: Make sure to associate the certificate alias with the correct file in the above command lines.
3. You may have to pass the password for the above command lines. Add the parameter -storepass changeit
if the password is still changeit
and you didn't change it which is the default.
- For NodeJS, execute the following command (if required):
setx NODE_EXTRA_CA_CERTS %HOME%\.certificates\my-certs.pem
Now you should be able to open Eclipse Marketplace.