Maven Wagon HTTP documentation says:
Other features can be configured through system properties:
maven.wagon.http.ssl.insecure = true/false (default false), enable/disable use of relaxed ssl check for user generated certificates.
maven.wagon.http.ssl.allowall = true/false (default false), enable/disable match of the server's X.509 certificate with hostname. If disabled, a browser like check will be used.
maven.wagon.http.ssl.ignore.validity.dates = true/false (default false), ignore issues with certificate dates.
maven.wagon.rto = time in ms (default 1800000), read time out.
Can this configuration also be done in settings.xml?
Since it is reading it from system properties, it needs to be set like this
export MAVEN_OPTS=-Dmaven.wagon.http.ssl.insecure=false -DsomeOtherSystemProperty=value