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

cert generated by tuto cannot be imported to azure keyvault

Đang mở
#21 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PowerShell
Star
62
Fork
27
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.