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

cert generated by tuto cannot be imported to azure keyvault

未关闭
#21 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PowerShell
星标
62
派生
27
PR 合并指标
30 天内没有已合并 PR

描述

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)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。