SSL issue in jenkins

Facing below issue in Jenkins pipeline.

(Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)’)))

Hello and welcome to this community, @Nihi, :wave:

Based on the log, the error you’re encountering may be caused by SSL certificate verification failing because of a self-signed certificate in the certificate chain. :thinking:

To resolve this issue in a Jenkins pipeline, you could configure Jenkins to trust the self-signed certificate.