I am on the first steps in learning python, so please excuse my questions. I want to run the code below (taken from: http://docs.python.org/library/ssl.html ):
import socket, ssl, pprint s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
I got the following errors:
Traceback (last last call): File "C: \ Users \ e \ workspace \ PythonTesting \ source \ HelloWorld.py", line 38, at ssl_sock.connect (('www.versign.com', 443))
File "C: \ Python27 \ lib \ ssl.py", line 331, in connect
self._real_connect(addr, False)
File "C: \ Python27 \ lib \ ssl.py", line 314, in _real_connect
self.ca_certs, self.ciphers)
ssl.SSLError: [Errno 185090050] _ssl.c: 340: error: 0B084002: x509 verification procedures: X509_load_cert_crl_file: system lib
The error report in python does not look like a guideline to find the source of the problem. I could be wrong. Can someone help me tell me what the problem is in the code?
source share