在游民Azure管理证书错误 [英] Azure management certificate error in vagrant

查看:263
本文介绍了在游民Azure管理证书错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图用流浪旋转起来VM在Azure上。下面这个教程:

I am trying to spin up a VM in Azure using Vagrant. Following this tutorial :

<一个href=\"http://blogs.msdn.com/b/tconte/archive/2014/06/19/building-your-ubuntu-php-development-box-on-azure-using-vagrant.aspx?CommentPosted=true#commentmessage\" rel=\"nofollow\">http://blogs.msdn.com/b/tconte/archive/2014/06/19/building-your-ubuntu-php-development-box-on-azure-using-vagrant.aspx?CommentPosted=true#commentmessage

但我被困在这行

azure.mgmt_certificate =C:\\开发\\ management_cert.pfx​​

azure.mgmt_certificate = 'C:\Dev\management_cert.pfx'

我得到的错误是继

λ无业游民了--provider =蔚蓝
  C:/Users/hoss329549/.vagrant.d/gems/gems/azure-0.6.4/lib/azure/base_management/base_management_service.rb:48:in `救援初始化:管理证书无效。错误:PKCS12_parse:MAC验证失败(RuntimeError)

λ vagrant up --provider=azure C:/Users/hoss329549/.vagrant.d/gems/gems/azure-0.6.4/lib/azure/base_management/base_management_service.rb:48:in `rescue in initialize': Management certificate not valid. Error: PKCS12_parse: mac verify failure (RuntimeError)

我曾尝试到publishsettings并更名扩展下载到PFX,但没有奏效。没有发现谈论这方面的很多博客/文章。我怎样才能解决这个问题呢?

I have tried to download the publishsettings and renamed extension to pfx but didn't work. Didn't find much blog/articles that talks about this area. How can I solve this issue?

任何意见大大AP preciated!

Any advice is greatly appreciated!

推荐答案

我自己解决了这个问题。我所做的就是从网上下载的Azure门户publishsettings文件并重新命名为通过只保留管理证书XML块到它PFX文件。

I resolved the problem by myself. What I did was downloaded the publishsettings file from Azure portal and renamed the file to pfx by keeping only the management certificate xml block into it.

这篇关于在游民Azure管理证书错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆