Azure 点到站点 : Is it possible to read the Public certificate data from Key Vault instead of storing it as plain text in the Point-to-Site Config

标签 azure azure-virtual-network

我已在 Azure 中配置了点到站点,如下所示

enter image description here

是否可以从 Key Vault 读取公共(public)证书数据,而不是将其以纯文本形式存储在点到站点配置部分中?

最佳答案

我尝试在我的环境中重现相同的结果,并得到如下结果:

我生成了如下公共(public)根证书:

$Policy = New-AzKeyVaultCertificatePolicy -SecretContentType "application/x-pkcs12" -SubjectName "CN=contoso.com" -IssuerName "Self" -ValidityInMonths 6 -ReuseKeyOnRenewal

Add-AzKeyVaultCertificate -VaultName "<your-unique-keyvault-name>" -Name "ExampleCertificate" -CertificatePolicy $Policy

enter image description here

现在,我尝试从 Key Vault 读取公共(public)证书数据,我下载了如下证书:

enter image description here

要复制公共(public)证书数据,您必须通过记事本打开它并将其粘贴到点到站点配置中,如下所示:

enter image description here

enter image description here

Note that currently it is not possible to read the public certificate data from Key Vault in the Point-to-Site configuration section.

关于Azure 点到站点 : Is it possible to read the Public certificate data from Key Vault instead of storing it as plain text in the Point-to-Site Config,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74774657/

相关文章:

asp.net - 随机发生无法从 : '[PII is hidden]' 检索文档

azure - 来自 azure pipeline 的目标计算机上的 Powershell

azure - 如何使 Azure Web Api 项目 REST 端点仅可用于 Azure 虚拟网络

azure - 将 Azure ARM VM 与多个负载均衡器关联

azure - 如何使用 Internet 上的私有(private) IP 地址 ssh 到 Azure VM

azure - 我无法访问 Azure Blob 存储

Azure数据湖: This request is not authorized to perform this operation

Azure 服务总线使用 Azure.Messaging.ServiceBus 一次读取所有消息

c# - 从 Azure ServiceConfig 调用 WCF 服务

azure - 使用 REST API 将文件上传到 onedrive