无法上传根证书至事件网格命名空间。

huangapple go评论65阅读模式
英文:

Unable to upload root certificate Event Grid Namespace

问题

I followed the documentation and generated root and intermediate certificates.

Link to documentation ->https://learn.microsoft.com/en-us/azure/event-grid/mqtt-certificate-chain-client-authentication

However, Now i am unable to upload this to the event grid namespace.

How do i resolve this issue ?

英文:

I followed the documentation and generated root and intermediate certificates.
无法上传根证书至事件网格命名空间。

Link to documentation ->https://learn.microsoft.com/en-us/azure/event-grid/mqtt-certificate-chain-client-authentication
无法上传根证书至事件网格命名空间。

However, Now i am unable to upload this to the event grid namespace.
无法上传根证书至事件网格命名空间。
How do i resolve this issue ?

答案1

得分: 1

将证书转换为:

$certFilePath = "C:\Path\to\certificate.cer"
Export-Certificate -Cert $cert -FilePath $certFilePath -Type CERT

无法上传根证书至事件网格命名空间。

无法上传根证书至事件网格命名空间。

无法上传根证书至事件网格命名空间。

. 参考CA证书链

英文:

To convert a certificate:

 $certFilePath = "C:\Path\to\certificate.cer"
 Export-Certificate -Cert $cert -FilePath $certFilePath -Type CERT

无法上传根证书至事件网格命名空间。

无法上传根证书至事件网格命名空间。

无法上传根证书至事件网格命名空间。

. Refer to this for CA certificate chain.

答案2

得分: 0

The files are currently in .crt format. It has to be converted to .pem or .cer. If you can open the file in a text editor, copy the contents and save it with .pem extension to convert it to .pem.

英文:

The files are currently in .crt format. It has to be converted to .pem or .cer. If you can open the file in a text editor, copy the contents and save it with .pem extension to convert it to .pem.

huangapple
  • 本文由 发表于 2023年6月26日 14:02:04
  • 转载请务必保留本文链接:https://go.coder-hub.com/76553889.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定