简体   繁体   English

Windows Azure Powershell“您必须指定证书”

[英]Windows Azure Powershell 'you MUST specify a certificate'

Allright, so I'm getting started with Windows Azure Powershell through my MSDN premium account. 好吧,所以我现在通过我的MSDN高级帐户开始使用Windows Azure Powershell。

I've got a management certificate in my management portal, and I did the Set-Executionpolicy, Get-AzurePublishSettingsFile, Import-AzurePublishSettingsFile and got the message: 我在管理门户中获得了管理证书,并且执行了Set-Executionpolicy,Get-AzurePublishSettingsFile,Import-AzurePublishSettingsFile并得到了以下消息:

Setting 'myemailaddress@hotmail.com' as the default and current subscription ... etc

Seems to work fine until here. 似乎可以正常工作,直到这里。 Then I hit Get-AzureSubscription and I get the error message: 然后,我按下Get-AzureSubscription,然后收到错误消息:

Get-AzureSubscription : You MUST specify a certificate. Call Set-AzureSubscription and Select-AzureSubscription first.

I repeated the steps in this document a few times, but I can't get it to work. 我重复了文档中的步骤几次,但无法正常工作。 PowerShell is running in Admin mode, Azure Powershell extensions are installed. PowerShell在管理模式下运行,已安装Azure Powershell扩展。

Didn't I install the cert by running the Import command? 我不是通过运行Import命令安装证书吗?

EDIT: Yes it is, I checked certmgr and it's installed under Personal. 编辑:是的,我检查了certmgr并将其安装在“个人”下。

I met the same issue. 我遇到了同样的问题。 Just configured it manually with the guide here : 只是与导向手动配置它在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM