dc-app-performance-toolkit | OS: Windows | SSL Issues, Connection issues to jmeter etc.

d150519 January 12, 2022

Hi All,

we give dc-app-performance-toolkit a try and face an issue with SSL Connections.

 

[2022-01-12 14:28:20,436 DEBUG HTTPClient] Request resulted in exception: Traceback (most recent call last):

  File "C:\some\path\dc-app-performance-toolkit\venv\lib\site-packages\urllib3\connectionpool.py", line 696, in urlopen

    self._prepare_proxy(conn)

  File "C:\some\path\dc-app-performance-toolkit\venv\lib\site-packages\urllib3\connectionpool.py", line 964, in _prepare_proxy

    conn.connect()

  File "C:\some\path\dc-app-performance-toolkit\venv\lib\site-packages\urllib3\connection.py", line 416, in connect

    self.sock = ssl_wrap_socket(

  File "C:\some\path\dc-app-performance-toolkit\venv\lib\site-packages\urllib3\util\ssl_.py", line 449, in ssl_wrap_socket

    ssl_sock = _ssl_wrap_socket_impl(

  File "C:\some\path\dc-app-performance-toolkit\venv\lib\site-packages\urllib3\util\ssl_.py", line 493, in _ssl_wrap_socket_impl

    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)

  File "C:\some\path\\appdata\local\programs\python\python38\lib\ssl.py", line 500, in wrap_socket

    return self.sslsocket_class._create(

  File "C:\some\path\\appdata\local\programs\python\python38\lib\ssl.py", line 1040, in _create

    self.do_handshake()

  File "C:\some\path\\appdata\local\programs\python\python38\lib\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:1108)

 

Is it possible to switch this SSL Verify off in Windows? Or is this stacktrace another issue?

 

In jira.yml we have set secure: False and from setting of URLLIB3 

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) we would understand that SSL Verify should be switched off.
When we try to fetch e.g. gettaurus and jmeter webseite with a python testscript everything works fine.
Any ideas appreciated.

regards

D0150519

0 answers

Suggest an answer

Log in or Sign up to answer