Traceback (most recent call last):
File "D:/Python_prjcts/testkoro/untitled2/rfm.py", line 134, in
tst_logon()
File "D:/Python_prjcts/testkoro/untitled2/rfm.py", line 128, in tst_logon
r = requests.post(url, data=json.dumps(payload), headers=headers, cert=(clientCrt, clientKey))
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\requests\api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\requests\api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
chunked=chunked)
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\urllib3\connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\urllib3\connectionpool.py", line 839, in _validate_conn
conn.connect()
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\urllib3\connection.py", line 344, in connect
ssl_context=context)
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\urllib3\util\ssl_.py", line 338, in ssl_wrap_socket
context.load_cert_chain(certfile, keyfile)
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\urllib3\contrib\pyopenssl.py", line 436, in load_cert_chain
self._ctx.use_certificate_chain_file(certfile)
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\OpenSSL\SSL.py", line 908, in use_certificate_chain_file
_raise_current_error()
File "C:\Users\Adminkeb\miniconda3\lib\site-packages\OpenSSL\_util.py", line 54, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [('digital envelope routines', 'pkey_set_type', 'unsupported algorithm'), ('x509 certificate routines', 'x509_pubkey_decode', 'unsupported algorithm'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')]