Azure HDInsight上的配置单元存在证书问题
我本来要通过的,但是我 我通过Azure HDInsight上的配置单元存在证书问题,azure,hadoop,hive,azure-hdinsight,Azure,Hadoop,Hive,Azure Hdinsight,我本来要通过的,但是我 我通过Get AzureSubscription-Current检查了证书,它给了我: SubscriptionName : Dev SubscriptionId : <CORRECT SUBSCRIPTION ID> <SNIP> IsDefault : False Certificate : [Subject]
Get AzureSubscription-Current
检查了证书,它给了我:
SubscriptionName : Dev
SubscriptionId : <CORRECT SUBSCRIPTION ID>
<SNIP>
IsDefault : False
Certificate : [Subject]
CN=Kevin
[Issuer]
CN=Kevin
[Serial Number]
<REDACTED>
[Not Before]
13/05/2013 14:27:18
[Not After]
19/04/2113 14:27:18
[Thumbprint]
<THUMBPRINT THAT MATCHES IN AZURE PORTAL WITH DEV SUBSCRIPTION>
CurrentStorageAccountName : <DIFFERENT STORAGE NAME TO THE HDINSIGHT ONE>
ActiveDirectoryUserId : <MY EMAIL>
TokenProvider : Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication.AdalTokenProvider
SubscriptionName:Dev
订阅ID:
IsDefault:错误
证书:[主题]
CN=凯文
[发行人]
CN=凯文
[序列号]
[之前没有]
13/05/2013 14:27:18
[不在之后]
19/04/2113 14:27:18
[指纹]
CurrentStorageAccountName:
ActiveDirectoryUserId:
令牌提供程序:Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication.AdalTokenProvider
唯一不匹配的是,上面的CurrentStorageAccountName
不是我用于HDInsight的,而是在查询中设置的
在此之前,我还成功地执行了添加AzureAccount
我们最近更改了订阅的名称(但在我创建HDInsight群集及其存储帐户之前),这可能是导致此问题的原因
我确实通过azure门户删除了我的证书并重新发布了它
我现在有点卡住了。根据这一点,我没有导入azure发布设置文件
通过Publishsettings文件获取Azure管理证书: 在计划使用HDInsight SDK(PowerShell或.Net SDK)的每个工作站上,可以使用以下步骤获取Azure管理证书-
导入AzurePublishSettingsFile'\YourSubscriptionName下载日期凭据。publishsettings'
此处,“\YourSubscriptionName downlodate credentials.publishsettings”是您在步骤2中保存在工作站上的文件
现在你知道了。不知道为什么这是必要的,因为
Get AzureSubscription-Current
显示了适当的位和位。
SubscriptionName : Dev
SubscriptionId : <CORRECT SUBSCRIPTION ID>
<SNIP>
IsDefault : False
Certificate : [Subject]
CN=Kevin
[Issuer]
CN=Kevin
[Serial Number]
<REDACTED>
[Not Before]
13/05/2013 14:27:18
[Not After]
19/04/2113 14:27:18
[Thumbprint]
<THUMBPRINT THAT MATCHES IN AZURE PORTAL WITH DEV SUBSCRIPTION>
CurrentStorageAccountName : <DIFFERENT STORAGE NAME TO THE HDINSIGHT ONE>
ActiveDirectoryUserId : <MY EMAIL>
TokenProvider : Microsoft.WindowsAzure.Commands.Utilities.Common.Authentication.AdalTokenProvider