Splitties / refreshVersions

Life is too short to google for dependencies and versions
https://splitties.github.io/refreshVersions/
MIT License
1.63k stars 107 forks source link

refreshVersions seems not to work with client certificate authentication #681

Open StefanHirche opened 1 year ago

StefanHirche commented 1 year ago

πŸ› Describe the bug

We try to use a nexus repository via reverse proxy with client certificate authentication. Gradle is able to fetch artifacts from the repository, after configuring ssl certificates in the gradle.properties file. With the refreshVersion plugin it also works if there is a version already entered in the versions.properties file. But refreshVersions is not able to fetch anything from the repository to create or update the version.properties file.

⚠️ Current behavior

RefreshVersions can't connect to the repository although the ssl configuration is made in the gradle.properties file. We get this error: ## failed to check repo https://nexus.company.com/repository/repo-release/ Cause: network or server issue (class javax.net.ssl.SSLHandshakeException Received fatal alert: handshake_failure)

βœ… Expected behavior

RefreshVersions uses the ssl configuration of the gradle.properties file to connect to the repository

πŸ’£ Steps to reproduce

Difficult. You need a reverse proxy with client authentication configured.

πŸ“± Tech info

StefanHirche commented 1 year ago

I tested again and put the key information both into th gradle.properties and as parameters (-D...) in the command line. Still nothing works Is there anything else I could test? I really like this plugin, but at the moment it seems we can't use it anymore.