V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
wibile
V2EX  ›  问与答

azure 证书问题

  •  
  •   wibile · 2014-05-18 00:17:42 +08:00 · 3579 次点击
    这是一个创建于 3683 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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。求解。
    4 条回复    2014-05-18 09:53:18 +08:00
    little_cup
        1
    little_cup  
       2014-05-18 00:24:45 +08:00
    建议直接打世纪互联的电话问。
    wibile
        2
    wibile  
    OP
       2014-05-18 00:27:13 +08:00
    @little_cup 打了,等待回复中。。。这种问题不应该出错呢,AWS的也没这么多事
    little_cup
        3
    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
        4
    wibile  
    OP
       2014-05-18 09:53:18 +08:00
    搞定,端点映射修改就好了http://www.windowsazure.cn/zh-cn/develop/other/developerdifferences/#_Toc359582677

    @little_cup 太感谢了!顺便鄙视世纪互联,文档都不注明,浪费那么多精力。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1763 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:27 · PVG 00:27 · LAX 09:27 · JFK 12:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.