title: gradle nexus using self signed certificate
body: <p>I'm using gradle build system.</p>
  <p>My maven repo is condigured liked this</p>
  <pre><code>maven {
      allowInsecureProtocol = true
      url 'https://nexus.local.intranet/repository/maven-releases/'
      credentials {
          username ''
          password ''
      }
  }
  </code></pre>
  <p>The maven repo is a nexus behind a nginx.</p>
  <p>I get this error from my</p>
  <pre><code>&gt; The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.4.2/userguide/build_environment.html#gradle_system_properties
                    &gt; PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  </code></pre>
  <p>When I opening the url in the browser it's working.</p>
  <p>Any suggestions?</p>