aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/https.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid/rpki/https.py')
-rw-r--r--rpkid/rpki/https.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpkid/rpki/https.py b/rpkid/rpki/https.py
index 2e70455b..3f411c22 100644
--- a/rpkid/rpki/https.py
+++ b/rpkid/rpki/https.py
@@ -31,7 +31,7 @@ import POW
disable_tls_certificate_validation_exceptions = False
# Chatter suppression
-debug_tls_certs = True
+debug_tls_certs = False
rpki_content_type = "application/x-rpki"
@@ -55,8 +55,8 @@ class Checker(tlslite.api.Checker):
self.x509store = POW.X509Store()
- if isinstance(trust_anchor, rpki.x509.X509):
- trust_anchor = (trust_anchor,)
+ trust_anchor = rpki.x509.X509.normalize_chain(trust_anchor)
+ assert trust_anchor
for x in trust_anchor:
if debug_tls_certs: