Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refreshVersions seems not to work with client certificate authentication #681

Open
StefanHirche opened this issue Mar 22, 2023 · 1 comment

Comments

@StefanHirche
Copy link

🐛 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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant