0

At our company we have artifactory running on an https server.

I could access the artifacts by adding the cert of the server to the java keystore.

But i would rather set the properties:

maven.wagon.http.ssl.insecure = true  
maven.wagon.http.ssl.allowall = true

My question is: where can is set these? Ideally it would be in the pom

Joha
  • 935
  • 12
  • 32
  • If you correctly can add the cert and it's working why would you like to ignore the cert and make your connection less secure? – khmarbaise Jun 22 '18 at 10:47
  • On my machine i dont have access to the keystore, hence i cannot add the key. – Joha Jun 22 '18 at 10:49
  • Sorry? If you are in the company you should have access to them to make the transfer more secure – khmarbaise Jun 22 '18 at 10:53
  • I think i found what i was looking for: [See here](https://stackoverflow.com/questions/17025703/ssl-client-certificate-in-maven) – Joha Jun 25 '18 at 10:44
  • Ok ignore existing security..It's your turn.. – khmarbaise Jun 25 '18 at 10:45
  • Possible duplicate of [How to tell Maven to disregard SSL errors (and trusting all certs)?](https://stackoverflow.com/questions/21252800/how-to-tell-maven-to-disregard-ssl-errors-and-trusting-all-certs) – Stewart Nov 20 '18 at 21:52

0 Answers0