You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/02/09 15:57:00 UTC
[jira] [Comment Edited] (MNG-7685) Unable to ignore certificate errors with v3.9.0
[ https://issues.apache.org/jira/browse/MNG-7685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17686443#comment-17686443 ]
Michael Osipov edited comment on MNG-7685 at 2/9/23 3:56 PM:
-------------------------------------------------------------
Own CA certs will not happen, for these two reasons:
* You can use system properties to provide an alternative truststore
* Replace the default bundled cacerts with a truststore from your enterprise (this is what is done here)
was (Author: michael-o):
Own will not happen, for these two reasons:
* You can use system properties to provider an alternative truststore
* Replace the default bundled cacerts with a truststore from your enterprise (this is what is done here)
> Unable to ignore certificate errors with v3.9.0
> -----------------------------------------------
>
> Key: MNG-7685
> URL: https://issues.apache.org/jira/browse/MNG-7685
> Project: Maven
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.9.0
> Environment: Linux and Mac
> Reporter: John Patrick
> Priority: Major
> Labels: Regression
>
> Setting `-Dmaven.wagon.http.ssl.insecure=true` via `.mvn/jvm.config` does not work with v3.9.0, but works with v3.8.7. i.e. when executing `./mvnw org.apache.maven.plugins:maven-dependency-plugin:3.5.0:go-offline`.
> I've got a minishift instance running jenkins, with agents created on demand. I've got a nexus with a self signed certificate and for simpler out of the box Jenkins agents I'm happy for it to ignore the nexus certificate error. So Jenkins uses config-file-provider plugin to provide `jvm.config` and for builds to ignore certificate issues.
> Not sure if maven has;
> # stopped reading `.mvn/jvm.config`
> # stoped allowing multiple line `.mvn/jvm.config`
> # not setting System properties as defined in `.mvn/jvm.config`
> # wagon upgrade has introduced bug or new config
--
This message was sent by Atlassian Jira
(v8.20.10#820010)