【问题标题】:How to disable Weak Ciphers from Azure mobile service?如何从 Azure 移动服务禁用弱密码?
【发布时间】:2016-01-13 07:16:18
【问题描述】:

有什么方法可以禁用 Azure 移动服务中的弱密码? 该服务在标准层中运行。 发布服务器端口为 443。

我尝试运行以下代码

string[] subKeys = new string[]
{
    "RC4 40/128",
    "RC4 56/128",
    "RC4 64/128",
    "RC4 128/128",
};

RegistryKey parentKey = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers", true);

foreach (string keyName in subKeys)
{
    var newKey = parentKey.CreateSubKey(keyName);
    newKey.SetValue("Enabled", 0);
    newKey.Close();
}
parentKey.Close();

引用自How to disable RC4 cipher on Azure Web Roles

但是得到Requested registry access is not allowed 异常

在同一链接中提到添加executionContext="elevated" in the startup 我不确定在哪里添加此行或如何将网络角色应用于移动服务..

【问题讨论】:

    标签: iis encryption registry azure-mobile-services rc4-cipher


    【解决方案1】:

    这不是您可以在 Azure 移动服务中控制的。查看有关测试允许使用哪些密码的问题:https://superuser.com/questions/109213/how-do-i-list-the-ssl-tls-cipher-suites-a-particular-website-offers

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-08-24
      • 2017-04-02
      • 1970-01-01
      • 1970-01-01
      • 2015-07-06
      • 2017-12-31
      • 1970-01-01
      • 2020-06-30
      相关资源
      最近更新 更多