【问题标题】:Error connecting to Azure Virtual Network - Point to Site连接到 Azure 虚拟网络时出错 - 指向站点
【发布时间】:2017-06-23 17:22:14
【问题描述】:

我按照本教程创建了一个点到站点连接:

https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal

现在,当我尝试连接 VPN 时出现此错误:

A certificate could not be found that can be used with this Extensible Authentication Protocol. (Error 798)

它甚至在我生成自签名证书的计算机上都不起作用。它在我安装 pfx 私钥的另一个客户端中都不起作用,并且在两者中都失败并出现相同的错误。

有什么想法吗?

【问题讨论】:

    标签: azure azure-virtual-network


    【解决方案1】:

    好的,结果证明创建证书的文档在这里不完整,也没有提到任何关于客户端证书的内容,它只是说明了如何创建根证书:

    https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-certificates-point-to-site

    这是我必须做的事情:

    创建根证书:

    makecert -sky exchange -r -n "CN=AzureRootCert" -pe -a sha1 -len 2048 -ss My "AzureRootCert.cer"
    

    创建客户端证书:

    makecert.exe -n "CN=AzureClientCert" -pe -sky exchange -m 96 -ss My -in "AzureRootCert" -is my -a sha1
    

    然后记录其余部分。所以必须导出根证书并上传到Azure,然后下载VPN工具。

    【讨论】:

      猜你喜欢
      • 2013-04-27
      • 2013-07-05
      • 2013-01-28
      • 1970-01-01
      • 1970-01-01
      • 2020-01-23
      • 1970-01-01
      • 1970-01-01
      • 2021-02-24
      相关资源
      最近更新 更多