SSL连接不能在PowerShell中通过Azure的VM连接建立错误 [英] SSL Connection cannot be established error in Azure VM Connection via powershell
问题描述
使用Get-AzureCertificate命令安装证书,并从2015年9月1日(昨天)在执行从本地计算机远程蔚蓝的VM的命令以后能不能从本地计算机上执行的命令。连接到蔚蓝的虚拟机时得到了以下错误消息。
[xxxxxx.cloudapp.net]连接到远程服务器xxxxxx.cloudapp.net
有以下几部件的错误消息失败:SSL连接不能
成立。验证远程主机上的服务isproperly
配置为侦听HTTPS请求。咨询日志和
有关目的地的WS-Management的servicerunning文档,
最常见的IIS或WinRM的。如果目标是WinRM服务,
在目标上运行followingcommand来分析和配置
WinRM服务:WinRM的quickconfig -transport:https开头。对于
moreinformation,请参阅about_Remote_Troubleshooting帮助主题。 +
CategoryInfo:OpenError:(xxxxxx.cloudapp.net:String)[]
PSRemotingTransportException + FullyQualifiedErrorId:
-2144108102,PSSessionStateBroken
块引用>解决方案微软所做的更改到8/24的标准形象造成自签名的证书将WinRM SSL连接中断。
如果您使用的7月26日图像服务器2012 R2会工作。图像名称是:
a699494373c04fc0bc8f2bb1389d6106__Windows-服务器2012年R2-20150726-en.us-127GB.vhd
Using the Get-AzureCertificate command install the certificate and executed the commands in remote azure vm from local machine from 09-01-2015 (yesterday) onwards cannot able to execute the commands from local machine. Got the following error message when connecting to the azure vm.
[xxxxxx.cloudapp.net] Connecting to remote server xxxxxx.cloudapp.net failed with thefollowing error message : The SSL connection cannot be established. Verify that the service on the remote host isproperly configured to listen for HTTPS requests. Consult the logs and documentation for the WS-Management servicerunning on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the followingcommand on the destination to analyze and configure the WinRM service: "winrm quickconfig -transport:https". For moreinformation, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (xxxxxx.cloudapp.net:String) [], PSRemotingTransportException + FullyQualifiedErrorId : -2144108102,PSSessionStateBroken
解决方案Microsoft made changes to the standard image on 8/24 which caused the WinRM SSL connection with self signed certs to break.
If you use the July 26 image for Server 2012 R2 it will work. The image name is:
a699494373c04fc0bc8f2bb1389d6106__Windows-Server-2012-R2-20150726-en.us-127GB.vhd
这篇关于SSL连接不能在PowerShell中通过Azure的VM连接建立错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!