我想在https传输中使用WinRM。我已经买了我的Windows 10的计算机(在系统完整的计算机名称)的主题匹配我的FQDN一个科摩多证书(错误状态,我不能使用自签名证书)(未加入域):WinRm - 由于SSL证书不正确,无法在HTTPS上创建WinRM侦听器
CN = my.domain.net
OU = PositiveSSL
OU = Domain Control Validated
当试图创建具有以下命令HTTPS监听器:
WintRm quickconfig -transport:https
我得到的错误信息:
Error number: -2144108267 0x80338115 Cannot create a WinRM listener on HTTPS because this machine does not have an appropriate certificate. To be used for SSL, a certificate must have a CN matching the hostname, be appropriate for Server Authentication, and not be expired, revoked, or self-signed.
我已经安装(双击该* .crt文件)证书在多个商店(本地机器/个人和受信任的根证书颁发机构)中,但WinRM无法创建https侦听器。 http侦听器工作正常。
一些额外的信息:如果使用的certreq尝试安装*.cer
证书,我得到的错误:
Element not found. 0x80070490 (WIN32: 1168 ERROR_NOT_FOUND)
我如何获得WinRM的以https工作?