Intellij Maven Repository self signed certificate, ssl error
<p>In intellij (15.0.4) under settings->Maven->Repositories I get an error when clicking update on the companies repositories.</p>

<p>org.apache.maven.wagon.TransferFailedException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target</p>

<p>I can understand, since it is a self-signed untrusted certificate, however, I have added this certificate to
settings->Tools->Server Certificates->Accepted Certificates.</p>

<p>I also added to settings->Maven->Runner->VM Options 
-Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.insecure=true</p>

<p>I still get this problem.</p>

<p>Greatful for a solution.</p>