diff options
author | Rob Austein <sra@hactrn.net> | 2007-08-08 21:17:45 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-08-08 21:17:45 +0000 |
commit | 81c3bf7f64c68c05b5cf649aefdc0dd2cb194463 (patch) | |
tree | 136b7ae18b666ce5c6877c7998afe0f394db3289 /scripts/http-server.py | |
parent | 59c52c3e227d0439eaf75f8dd800b61636701336 (diff) |
Checkpoint
svn path=/scripts/http-server.py; revision=846
Diffstat (limited to 'scripts/http-server.py')
-rw-r--r-- | scripts/http-server.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/http-server.py b/scripts/http-server.py index 00e7b1ba..e5e63dc6 100644 --- a/scripts/http-server.py +++ b/scripts/http-server.py @@ -4,23 +4,6 @@ import rpki.https, tlslite.api certInfo = rpki.https.CertInfo("Carol") -# Ok, here's the problem: the certChain is order-sensitive. -# We have to put the EE cert before the CA cert or things break. -# -# For the moment we can kludge this but in the general case we're -# going to have to sort certs somehow. This is the second time this -# problem has come up (CMS had the same issue). - -if True: - certChain = [] - for file in ("biz-certs/Carol-EE.cer", "biz-certs/Carol-CA.cer"): - f = open(file, "r") - x509 = tlslite.api.X509() - x509.parse(f.read()) - f.close() - certChain.append(x509) - certInfo.certChain = tlslite.api.X509CertChain(certChain) - def handler(self, query): return 200, "I got:\n" + query |