aboutsummaryrefslogtreecommitdiff
path: root/scripts/http-server.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/http-server.py')
-rw-r--r--scripts/http-server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/http-server.py b/scripts/http-server.py
index 9ae9a43d..7716d5ed 100644
--- a/scripts/http-server.py
+++ b/scripts/http-server.py
@@ -5,7 +5,7 @@ import rpki.https, tlslite.api, rpki.config
cfg = rpki.config.parser("http-demo.conf")
section = "server"
-privateKey = rpki.x509.RSA_Keypair(PEM_file = cfg.get(section, "https-key"))
+privateKey = rpki.x509.RSA(PEM_file = cfg.get(section, "https-key"))
certChain = rpki.x509.X509_chain()
certChain.load_from_PEM(cfg.multiget(section, "https-cert"))