Azure-Samples / Azure-Samples/ms-identity-python-daemon

cert generated by tuto cannot be imported to azure keyvault

Ouverte
#21 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
PowerShell
Étoiles
62
Forks
27
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hello,

I followed the [tuto](https://github.com/Azure-Samples/ms-identity-python-daemon/blob/master/2-Call-MsGraph-WithCertificate/README.md#optional-create-a-self-signed-certificate) in this repo to create the cert: `server.pem`, `server.crt`.
Uploading `server.crt` to app's `Certificates & secrets` as described in the tuto is OK, and the API test is OK too.

But when I tried to upload the cert to Azure Keyvault, `server.crt` is not validated as Azure keyvault accepts pem file only, but when uploading `server.pem` to Azure keyvault, I got the error: `The specified PEM X.509 certificate content can not be read. Please check if certificate is in valid PEM format. Accepted formats: PEM content or Base64 encoded PEM content.`

![image](https://user-images.githubusercontent.com/13083856/224493821-454ee6f9-5889-4b38-9d0a-e85baa6483b2.png)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.