Forum Discussion
Powershell 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 like get the Subject Alternative Names if is_bundled = true.
Thanks for your help.
- Gary_L_Fry
Nimbostratus
Never 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
* 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