I want to build a job in jenkins through python script.I am totally new to python.I am using below method from python-jenkins.my jenkins url is https.
server = jenkins.Jenkins(ci_jenkins_url, username=username, password=token)
and i am getting
SSLError: HTTPSConnectionPool(host='{myjenkinsur}', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))
how can I connect through SSL?