azure 证书问题

2014-05-18 00:17:42 +08:00
 wibile
http://www.windowsazure.cn/zh-cn/develop/python/how-to-guides/service-management/
按照这个做了,生成cer证书和pem,并且上传了,为何sms总是forbidden?
另外,http://azure.microsoft.com/en-us/documentation/articles/cloud-services-python-how-to-use-service-management/ 这里面要求使用Visual Studio 带的makecert ,这个和前面的openSSL有什么不同?而且只生成cer,找不到pem。求解。
3580 次点击
所在节点    问与答
4 条回复
little_cup
2014-05-18 00:24:45 +08:00
建议直接打世纪互联的电话问。
wibile
2014-05-18 00:27:13 +08:00
@little_cup 打了,等待回复中。。。这种问题不应该出错呢,AWS的也没这么多事
little_cup
2014-05-18 00:34:22 +08:00
@wibile azure中区目前很多低级错误,上次我用他们那个nodejs的cli部署不了,这是azure的工程师们折腾了一周多后的邮件汇总:

尊敬的何先生:

感谢您的确认。很高兴您的问题已经成功解决,我将关闭这个案例。这里是针对这个案例的技术总结,供您参考。(无需回复)

问题描述:
=====================
azure Nodejs cmd无法导入Publish Setting 和部署VM

系统环境/应用程序信息:
=====================
VM/Azure Node.js

问题判定/调研步骤:
=====================
分析问题,按照错误提示逐步调试azure nodejs运行环境

解决方案:
=====================
1. 确保服务端点指向中国Windows Azure

修改nodejs azure安装目录下的constants.js的变量信息,参考文档(http://www.windowsazure.cn/zh-cn/develop/other/developerdifferences/#_Toc359582677)中的端点映射。

2. 修改文件C:\Users\sey.FAREAST\AppData\Roaming\npm\node_modules\azure-cli\lib\util\communityUtil.js,24行:
var WebResource = azureCommon.webResource;
修改为 azureCommon.WebResource

3. 修改文件C:\Users\username\AppData\Roaming\npm\node_modules\azure-cli\lib\commands\asm\vm._js, 将文件中的所有代码
var imageHelper = require('../iaas/image')
改成 var imageHelper = require('./iaas/image')
wibile
2014-05-18 09:53:18 +08:00
搞定,端点映射修改就好了http://www.windowsazure.cn/zh-cn/develop/other/developerdifferences/#_Toc359582677

@little_cup 太感谢了!顺便鄙视世纪互联,文档都不注明,浪费那么多精力。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/113049

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX