SSL Error in api call (works with one server and doesn't with another)
I would like to know, is it important who verified the SSL certificate? I have two Qlik servers and one of them works with API call correctly and another does not. I explained the error message and the difference between two machines. Can you tell me if this difference raise that error or I should look for something else?
The Error message which I get from calling qlik API (by pthon) says :
in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='crp-qlik-11.corp.xxxx.ca', port=4242): Max retries exceeded with url: /qrs/task/start/synchronous?name=ReloadTrigger&xrfkey=1234567890123456 (Caused by SSLError(SSLError("bad handshake: SysCallError(10054, 'WSAECONNRESET')")))
I know there is one difference between 2 servers. It's on the SSL certificate. They set up by two different people. Both have a valid SSL certificate but with different properties for verified.
The main difference is on who verified them. They are like this:
website: crp-bisb-02.corp.xxxx.ca verified by: crp-bisb-02.corp.xxxx.ca-CA python result: work correctly
The result of cURL on those Qlik URL is like this:
C:\>curl -v https://crp-bisb-02.corp.xxxx.ca * Rebuilt URL to: https://crp-bisb-02.corp.xxxx.ca/ * Trying 10.XX.XX.58... * TCP_NODELAY set * Connected to crp-bisb-02.corp.xxxx.ca (10.XX.XX.58) port 443 (#0) * schannel: SSL/TLS connection with crp-bisb-02.corp.xxxx.ca port 443 (step 1/3) * schannel: checking server certificate revocation * schannel: sending initial handshake data: sending 189 bytes... * schannel: sent initial handshake data: sent 189 bytes * schannel: SSL/TLS connection with crp-bisb-02.corp.xxxx.ca port 443 (step 2/3) * schannel: failed to receive handshake, need more data * schannel: SSL/TLS connection with crp-bisb-02.corp.xxxx.ca port 443 (step 2/3) * schannel: encrypted data got 1817 * schannel: encrypted data buffer: offset 1817 length 4096 * schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate. * Closing connection 0 * schannel: shutting down SSL/TLS connection with crp-bisb-02.corp.xxxx.ca port 443 * schannel: clear security context handle curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.