Forum Discussion
Gary_L_Fry
Nimbostratus
Jun 12, 2019Powershell icontrol get_certificate_subject_alternative_name_bundle
Does anyone know how to call get_certificate_subject_alternative_name_bundle in powershell? I can obtain the certificate list using .ManagementKeyCertificate.get_certificate_list(0) but I would now ...
Gary_L_Fry
Nimbostratus
Jun 12, 2019Never Mind I figured it out was pretty easy here it is incase someone else needs it:
$isBundled = ($f5Certificates[$i]).is_bundled
[String[]]$fileName = ($f5Certificates[$i]).file_name
if($isBundled) {
$f5CertficateListSan = ($f5Interface).ManagementKeyCertificate.get_certificate_subject_alternative_name_bundle($MANAGEMENT_MODE_DEFAULT,$Filename)
}
it will return a string array of the subject alternative names.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects