summaryrefslogtreecommitdiff
path: root/paste/httpserver.py
diff options
context:
space:
mode:
authorcce <devnull@localhost>2007-09-19 03:34:11 +0000
committercce <devnull@localhost>2007-09-19 03:34:11 +0000
commit0179847dfc1c578f21fdb46aa1f05574d1a91886 (patch)
tree44afb22facea8a5405f3a8e4c3378e8f67c172c6 /paste/httpserver.py
parent3259acd58a35b8a27aee1f88087f07d318c58726 (diff)
downloadpaste-0179847dfc1c578f21fdb46aa1f05574d1a91886.tar.gz
minor tweak (appears to be backward compatible) to permit use with SSL chains
Diffstat (limited to 'paste/httpserver.py')
-rwxr-xr-xpaste/httpserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/httpserver.py b/paste/httpserver.py
index 57b287c..bba5678 100755
--- a/paste/httpserver.py
+++ b/paste/httpserver.py
@@ -1228,7 +1228,7 @@ def serve(application, host=None, port=None, handler=None, ssl_pem=None,
else:
ssl_context = SSL.Context(SSL.SSLv23_METHOD)
ssl_context.use_privatekey_file(ssl_pem)
- ssl_context.use_certificate_file(ssl_pem)
+ ssl_context.use_certificate_chain_file(ssl_pem)
host = host or '127.0.0.1'
if not port: