Reputation: 55
I have been trying to configure Global Pipeline libraries in Jenkins using GitHub repo, but encountered an issue "invalid account" even though GitHub credentials are correct.
Detailed description:
Please find below error code image for reference.
Please help,
Regards, Srikanth
Upvotes: 2
Views: 1169
Reputation: 55
Details:
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Thank you @VonC for your help.
Upvotes: 1
Reputation: 1324278
For an https URL (using a username/password type of credential), do check if the password includes any special character.
If it does, you might need to percent encode them.
The other possibility is if your account has 2FA (two factor authentication) activated.
If it does, the password should be a PTA (Personnal Token Access), not your actual account password.
Third possibility (from the chat): there is a proxy.
So:
Upvotes: 2