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

cert generated by tuto cannot be imported to azure keyvault

Abierto
#21 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
PowerShell
Estrellas
62
Forks
27
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.