SSL Certificate add failed, Error: 183 Cannot create a file when that file already exists - How to bound certificate to ipport?
SSL Certificate add failed, Error: 183 Cannot create a file when that file already exists - How to bound certificate to ipport?
我正在尝试在 CMD 中执行此命令:
netsh http add sslcert ipport=0.0.0.0:443 certhash=89857a42309423c239f42392384a appid={214124cd-d05b-4309-9af9-13123454a52b}
并收到错误消息:
SSL Certificate add failed, Error: 183 Cannot create a file when that
file already exists.
如果已经添加了证书,如何将证书添加到ipport?
表示该端口已经绑定了证书。如果我们要绑定新证书,我们需要删除旧证书并绑定新证书。
检查端口是否绑定了证书:
netsh http show sslcert > c:\result.txt
打开 result.txt 并搜索端口(在我的例子中是 443)
删除旧证书:
netsh http delete sslcert ipport=0.0.0.0:443
绑定新证书
netsh http add sslcert ipport=0.0.0.0:443 certhash=89857a42309423c239f42392384a appid={214124cd-d05b-4309-9af9-13123454a52b}
我正在尝试在 CMD 中执行此命令:
netsh http add sslcert ipport=0.0.0.0:443 certhash=89857a42309423c239f42392384a appid={214124cd-d05b-4309-9af9-13123454a52b}
并收到错误消息:
SSL Certificate add failed, Error: 183 Cannot create a file when that file already exists.
如果已经添加了证书,如何将证书添加到ipport?
表示该端口已经绑定了证书。如果我们要绑定新证书,我们需要删除旧证书并绑定新证书。
检查端口是否绑定了证书:
netsh http show sslcert > c:\result.txt
打开 result.txt 并搜索端口(在我的例子中是 443)
删除旧证书:
netsh http delete sslcert ipport=0.0.0.0:443
绑定新证书
netsh http add sslcert ipport=0.0.0.0:443 certhash=89857a42309423c239f42392384a appid={214124cd-d05b-4309-9af9-13123454a52b}