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

SSL Error when using jenkinsapi #857

Open
vladi14 opened this issue May 12, 2024 · 0 comments
Open

SSL Error when using jenkinsapi #857

vladi14 opened this issue May 12, 2024 · 0 comments

Comments

@vladi14
Copy link

vladi14 commented May 12, 2024

ISSUE TYPE
  • Bug Report
Jenkinsapi VERSION

0.3.13

Jenkins VERSION

[Jenkins 2.346.1]

SUMMARY

When trying trigger job with following script on https server getting SSL error.
(Caused by SSLError(SSLError(1, '[SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1006)')))

EXPECTED RESULTS

Work correct like with requests module using SSL_CONEXT

ACTUAL RESULTS

(Caused by SSLError(SSLError(1, '[SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED] unsafe legacy renegotiation disabled (_ssl.c:1006)')))

USEFUL INFORMATION
 jenkins = Jenkins(baseurl=URL, username=username, password=token, ssl_verify=False)
params = {"key":"value"}
jenkins.build_job(JOB, params)
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