X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Ftrust%2Fcertificate.py;fp=sfa%2Ftrust%2Fcertificate.py;h=dfee4e8d5f573cff5d2bad2e993d9f894f1d8783;hb=2bfcf67eab80f06cdf539a04865a6a8caaef58e7;hp=199504dc93a2731cdc5405f4f0d698a4da46f0d9;hpb=4c0a4987486224c214ee09289824d197f0af6c10;p=sfa.git diff --git a/sfa/trust/certificate.py b/sfa/trust/certificate.py index 199504dc..dfee4e8d 100644 --- a/sfa/trust/certificate.py +++ b/sfa/trust/certificate.py @@ -838,7 +838,6 @@ class Certificate: # the public key contained in it's parent. The chain is recursed # until a certificate is found that is signed by a trusted root. - logger.debug("Certificate.verify_chain {}".format(self.pretty_name())) # verify expiration time if self.x509.has_expired(): if debug_verify_chain: @@ -848,7 +847,8 @@ class Certificate: # if this cert is signed by a trusted_cert, then we are set for i, trusted_cert in enumerate(trusted_certs, 1): - logger.debug("Certificate.verify_chain - trying trusted #{} : {}" + logger.debug(5*'-' + + " Certificate.verify_chain - trying trusted #{} : {}" .format(i, trusted_cert.pretty_name())) if self.is_signed_by_cert(trusted_cert): # verify expiration of trusted_cert ?