Add a count for the number of SANs
This commit is contained in:
parent
fa428fa26c
commit
a46395c478
|
@ -139,7 +139,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
table = [
|
table = [
|
||||||
["Common name", cert.subject.rfc4514_string()],
|
["Common name", cert.subject.rfc4514_string()],
|
||||||
["SANs", tabulate(sangroups, tablefmt="plain")],
|
[f"SANs ({len(sans)})", tabulate(sangroups, tablefmt="plain")],
|
||||||
["Valid from", cert.not_valid_before_utc],
|
["Valid from", cert.not_valid_before_utc],
|
||||||
["Valid to", cert.not_valid_after_utc],
|
["Valid to", cert.not_valid_after_utc],
|
||||||
["Issuer", cert.issuer.rfc4514_string()],
|
["Issuer", cert.issuer.rfc4514_string()],
|
||||||
|
|
Loading…
Reference in a new issue