import gitlab
url='https://xxxx:yy'
token='xxxxxx'
session = requests.Session()
session.verify = False
#session.cert = ('/path/to/client.cert', '/path/to/client.key')
git_lab = gitlab.Gitlab(url, token, api_version=4, session=session)
import gitlab
url='https://xxxx:yy'
token='xxxxxx'
session = requests.Session()
session.verify = False
#session.cert = ('/path/to/client.cert', '/path/to/client.key')
git_lab = gitlab.Gitlab(url, token, api_version=4, session=session)
本文标题:python-gitlab SSL ERROR
本文链接:https://www.haomeiwen.com/subject/fkowgctx.html
网友评论