We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade028e commit 91a798bCopy full SHA for 91a798b
src/Commands/Base/GetAzureCertificate.cs
@@ -88,7 +88,7 @@ internal static void WriteAzureCertificateOutput(BasePSCmdlet cmdlet, X509Certif
88
certificate: CertificateHelper.CertificateToBase64(certificate),
89
privateKey: CertificateHelper.PrivateKeyToBase64(certificate),
90
sanNames: certificate.Extensions.Cast<X509Extension>()
91
- .Where(n => n.Oid.FriendlyName == "Subject Alternative Name" || n.Oid.FriendlyName == "Autre nom de l’objet")
+ .Where(n => n.Oid.Value == "2.5.29.17")
92
.Select(n => new AsnEncodedData(n.Oid, n.RawData))
93
.Select(n => n.Format(false))
94
.FirstOrDefault().Split(',', StringSplitOptions.TrimEntries)
0 commit comments