python-pytest-localserver/python-pytest-localserver-do-not-use-shipped-pem.patch

13 lines
436 B
Diff

--- a/pytest_localserver/https.py 2013-10-16 15:47:29.000000000 +0200
+++ b/pytest_localserver/https.py 2015-02-09 17:40:45.219146857 +0100
@@ -9,8 +9,7 @@
from pytest_localserver.http import ContentServer
#: default server certificate
-DEFAULT_CERTIFICATE = os.path.join(
- os.path.abspath(os.path.dirname(__file__)), 'server.pem')
+DEFAULT_CERTIFICATE = "/etc/ssl/ca-bundle.pem"
class SecureContentServer (ContentServer):