From 258948849c072360876d02c1300853c293c31ab3 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 6 Oct 2007 18:13:43 +0000 Subject: Consolidate and debug PKCS #10 code. svn path=/pow/POW-0.7/lib/pkix.py; revision=1104 --- scripts/http-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/http-server.py') 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")) -- cgit v1.2.3