Sometimes we need to use repos by self signed certs. Even Though you import self sign cert on your jvm. Gradle ignore to use keystore. The issues is mostly likely “Exception in thread “main” javax.net.ssl.SSLHandshakeException” or packages that can’t be downloaded because of an invalid certificate.

To be able to use self signed cert repo you should follow these steps:

Export certificates of Your ArtifactoryOpen your artifactory in browser and export its certificate (in order to get certificate from chrome browser open console, move to security tab and click view certificates, after that you will be able to export by dragging certificate icon to desktop).