You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
: \"...-----BEGIN CERTIFICATE-----... (Optional. See below.)\",\n\"passphrase\"\
37
-
: \"Passphrase if the private_key is encrypted (Optional. Added in version 1.6.0)\"\
38
-
,\n }\n ````\n\nMSAL Python requires a \"private_key\" in PEM format.\n\
39
-
If your cert is in a PKCS12 (.pfx) format, you can also\n[convert it to PEM\
40
-
\ and get the thumbprint](https://github.com/Azure/azure-sdk-for-python/blob/07d10639d7e47f4852eaeb74aef5d569db499d6e/sdk/identity/azure-identity/azure/identity/_credentials/certificate.py#L101-L123).\n\
41
-
\nThe thumbprint is available in your app's registration in Azure Portal.\n\
42
-
Alternatively, you can [calculate the thumbprint](https://github.com/Azure/azure-sdk-for-python/blob/07d10639d7e47f4852eaeb74aef5d569db499d6e/sdk/identity/azure-identity/azure/identity/_credentials/certificate.py#L94-L97).\n\
43
-
\n*Added in version 0.5.0*:\npublic_certificate (optional) is public key certificate\n\
44
-
which will be sent through 'x5c' JWT header only for\nsubject name and issuer\
45
-
\ authentication to support cert auto rolls.\n\nPer [specs](https://tools.ietf.org/html/rfc7515#section-4.1.6),\n\
46
-
\"the certificate containing\nthe public key corresponding to the key used to\
\ if the private_key is encrypted (Optional. Added in version 1.6.0)\",\n \
39
+
\ }\n ````\n\nMSAL Python requires a \"private_key\" in PEM format.\nIf your\
40
+
\ cert is in PKCS12 (.pfx) format,\nyou can convert it to X.509 (.pem) format,\n\
41
+
by `openssl pkcs12 -in file.pfx -out file.pem -nodes`.The thumbprint is available\
42
+
\ in your app's registration in Azure Portal.\nAlternatively, you can [calculate\
43
+
\ the thumbprint](https://github.com/Azure/azure-sdk-for-python/blob/07d10639d7e47f4852eaeb74aef5d569db499d6e/sdk/identity/azure-identity/azure/identity/_credentials/certificate.py#L94-L97).\n\
44
+
\n\n\n## Support Subject Name/Issuer Auth with a cert in .pem[Subject Name/Issuer\
: \"...-----BEGIN CERTIFICATE-----... (Optional. See below.)\",\n\"passphrase\"\
37
-
: \"Passphrase if the private_key is encrypted (Optional. Added in version 1.6.0)\"\
38
-
,\n }\n ````\n\nMSAL Python requires a \"private_key\" in PEM format.\n\
39
-
If your cert is in a PKCS12 (.pfx) format, you can also\n[convert it to PEM\
40
-
\ and get the thumbprint](https://github.com/Azure/azure-sdk-for-python/blob/07d10639d7e47f4852eaeb74aef5d569db499d6e/sdk/identity/azure-identity/azure/identity/_credentials/certificate.py#L101-L123).\n\
41
-
\nThe thumbprint is available in your app's registration in Azure Portal.\n\
42
-
Alternatively, you can [calculate the thumbprint](https://github.com/Azure/azure-sdk-for-python/blob/07d10639d7e47f4852eaeb74aef5d569db499d6e/sdk/identity/azure-identity/azure/identity/_credentials/certificate.py#L94-L97).\n\
43
-
\n*Added in version 0.5.0*:\npublic_certificate (optional) is public key certificate\n\
44
-
which will be sent through 'x5c' JWT header only for\nsubject name and issuer\
45
-
\ authentication to support cert auto rolls.\n\nPer [specs](https://tools.ietf.org/html/rfc7515#section-4.1.6),\n\
46
-
\"the certificate containing\nthe public key corresponding to the key used to\
\ if the private_key is encrypted (Optional. Added in version 1.6.0)\",\n \
39
+
\ }\n ````\n\nMSAL Python requires a \"private_key\" in PEM format.\nIf your\
40
+
\ cert is in PKCS12 (.pfx) format,\nyou can convert it to X.509 (.pem) format,\n\
41
+
by `openssl pkcs12 -in file.pfx -out file.pem -nodes`.The thumbprint is available\
42
+
\ in your app's registration in Azure Portal.\nAlternatively, you can [calculate\
43
+
\ the thumbprint](https://github.com/Azure/azure-sdk-for-python/blob/07d10639d7e47f4852eaeb74aef5d569db499d6e/sdk/identity/azure-identity/azure/identity/_credentials/certificate.py#L94-L97).\n\
44
+
\n\n\n## Support Subject Name/Issuer Auth with a cert in .pem[Subject Name/Issuer\
0 commit comments