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

Unable to find valid certification path to requested target #104

Open
jaymarvels opened this issue May 23, 2024 · 1 comment
Open

Unable to find valid certification path to requested target #104

jaymarvels opened this issue May 23, 2024 · 1 comment

Comments

@jaymarvels
Copy link

Current set up:

Teamcity agents x 2 running on windows server
sonarqube running on docker
reverse proxy via ngix

Sonarqube dasboard can be accessed with the web browser on the build agents.

Made sure I have the updated scanner for .net5+ installed:

image

Specified it in the scanner step:

image

Added some parameters based on others findings:

image

I am currently getting the following error:

image

Guessing its something to do with the SSL cert, so I followed this guide: https://magicmonster.com/kb/prg/java/ssl/pkix_path_building_failed/ dumping the cacert out and adding the correct one, then relisting to make sure its now in there (it is).

Still getting the above error.

Have a missed a step or something out?

@bade7n
Copy link
Contributor

bade7n commented Sep 28, 2024

  1. you better use JVM command line parameters: instead of Additional parameter
  2. make sure the path to cacerts is correct (substitute $HOME to be an actual path)
  3. make sure you packaged certs with the proper default password: changeithttps://docs.oracle.com/cd/E19957-01/817-3331/6miuccqo3/index.html
  4. if still doesn't work - paste an actual command from the build log

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

2 participants