Hej et al -

I am trying to access a maven remote repository which is protected by SSL. I
have added my cert in the jre's keystore but still I get the following
error:

Attempting to download log4j-1.2.8.jar.
Error retrieving artifact from
[https://mycompany.com/repository/log4j/jars/log4j-1.2.8.jar]:
javax.net.ssl.SSLHandshakeException: sun.security.ValidatorException: No
trusted certificate found

Here are the steps I followed:

1) %JAVA_HOME%\bin\keytool -import -keystore
%JAVA_HOME%\jre\lib\security\jssecacert -file maven.cer -alias maven
2) I modified my project.properties with the following:
maven.repo.remote=https://mycompany/repository/

Do I need to specify the keystore alias any where?  How does Maven know I
have a cert stored?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to