binbjz added the comment:
I have added code to disable global verification on phsphere. It works well.
thanks.
--
resolution: not a bug -
type: behavior - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23052
New submission from binbjz:
It will prompt ssl certificate_vefify_failed(_ssl.c:581) when I used pysphere
with python 2.7.9 to connect server. But I switched python 2.7.8 it works well.
2014-12-15 13:22:53,187 [DEBUG] Can not connect to xxx.xxx.xxx.108: [SSL:
CERTIFICATE_VERIFY_FAILED]
Alex Gaynor added the comment:
Python 2.7.9 enabled certificate validation by default for HTTP connections,
see PEP476.
The server you're connecting to does not have a certificate that is trusted by
your client. pysphere should configure SSL appropriately for this use case.
--
nosy:
binbjz added the comment:
alex,
thank you for quick reponse. I will check
http://www.python.org/dev/peps/pep-0476/
--
resolution: not a bug -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23052
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - not a bug
status: open - closed
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23052
___