We are using an internal on-premises Gitlab instance with custom certificate.
Is there a way (option?) to bypass the certificate verification?
`
Traceback (most recent call last):
File "/home/username/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/home/username/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/home/username/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 978, in _validate_conn
conn.connect()
File "/home/username/anaconda3/lib/python3.8/site-packages/urllib3/connection.py", line 362, in connect
self.sock = ssl_wrapsocket(
File "/home/username/anaconda3/lib/python3.8/site-packages/urllib3/util/ssl.py", line 386, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/home/username/anaconda3/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/home/username/anaconda3/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/home/username/anaconda3/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)
We are using an internal on-premises Gitlab instance with custom certificate. Is there a way (option?) to bypass the certificate verification?
` Traceback (most recent call last): File "/home/username/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen httplib_response = self._make_request( File "/home/username/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 381, in _make_request self._validate_conn(conn) File "/home/username/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 978, in _validate_conn conn.connect() File "/home/username/anaconda3/lib/python3.8/site-packages/urllib3/connection.py", line 362, in connect self.sock = ssl_wrapsocket( File "/home/username/anaconda3/lib/python3.8/site-packages/urllib3/util/ssl.py", line 386, in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) File "/home/username/anaconda3/lib/python3.8/ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "/home/username/anaconda3/lib/python3.8/ssl.py", line 1040, in _create self.do_handshake() File "/home/username/anaconda3/lib/python3.8/ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)
`