fix #529 issuer_uri in x509_certificate_info (#530)

The issuer_uri is retrieved from the Authority Information Access field the same way as the OCSP responder URI is.
Handling is exactly the same since they reside in the same OID space and have the same data type.
Tests have also been added based on the integration test certificates.

Signed-off-by: benaryorg <binary@benary.org>

Signed-off-by: benaryorg <binary@benary.org>
This commit is contained in:
Katze
2022-11-17 11:40:44 +00:00
committed by GitHub
parent 37fddc61d8
commit 2a746115ca
4 changed files with 26 additions and 0 deletions

View File

@@ -378,6 +378,12 @@ ocsp_uri:
C(none) if no OCSP responder URI is included.
returned: success
type: str
issuer_uri:
description: The Issuer URI, if included in the certificate. Will be
C(none) if no issuer URI is included.
returned: success
type: str
version_added: 2.9.0
'''