NX Server - SSLError _ssl.c:852
CompletedHello Team Nx,
I have been trying to get a thumbnail picture using the local NX server, however, I keep getting this error:
"""
requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', port=7001): Max retries exceeded with url: /ec2/cameraThumbnail?cameraId=5bf874a8-1dff-469b-abe9-bc3932c64886 (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),))
"""
Please can you direct me to the solution? Thanks
-
Hi George,
It looks your client rejects self-signed certificate generated by mediaserver. There should be option for your HTTPS client to ignore self-signed certificate similar as you add certificate to exception list when vising https://<mediaserver IP>:7001 for the first time.
Another option is to replace server's default certificate with one generated by trusted root CA. Here is an article explaining how to replace server certificate - https://support.networkoptix.com/hc/en-us/articles/224318728-Modify-Nx-Server-SSL-certificate
Please sign in to leave a comment.
Comments
1 comment