title: 401 error in Windows server 2012 after disabling crypto
body: <p>We had the following issue in our Production Environemt:
  When we disabled some weak crypto in our IIS Server 8.5 (Using IISCrypto) the server, after we try to login on the webpage, shows a 401 error</p>
  <p>The crypto and ciphers that we were trying to configure was this</p>
  <p><a href="https://i.stack.imgur.com/laso2.png" rel="nofollow noreferrer">Crypto Enabled</a></p>
  <p><a href="https://i.stack.imgur.com/5HxZs.png" rel="nofollow noreferrer">Ciphers Enabled</a></p>
  <p>The error after we applied changes and restarted the server was this</p>
  <p><a href="https://i.stack.imgur.com/tMQ4k.png" rel="nofollow noreferrer">401 error</a></p>
  <p>However, when we applied the same changes in our QA Enviroment and we didn't had that issue, as a matter of fact, we checked if IIS in both enviroments had a different configuration, still, the configuration was the same in both enviroments. If we reverse the change and enable all of the Crypto algorithms, the problem dissappears</p>
  <p><a href="https://i.stack.imgur.com/KtlZ8.png" rel="nofollow noreferrer">IIS Authentication</a></p>
  <p>We also checked our <strong>Web.config</strong> in order to check if the authentication methods on both environments was different, however, both lines are exactly the same</p>
  <pre><code>&lt;authentication mode=&quot;Forms&quot;&gt;
    &lt;forms timeout=&quot;20&quot; loginUrl=&quot;Login.aspx&quot; defaultUrl=&quot;Login.aspx&quot; requireSSL=&quot;true&quot; /&gt;
  &lt;/authentication&gt;
  &lt;authorization&gt;
    &lt;deny users=&quot;?&quot; /&gt;
    &lt;allow roles=&quot;Admin, User&quot; /&gt;
  &lt;/authorization&gt;
  </code></pre>
  <p>Can anybody help us out here with this issue? none of the workarounds and solutions we have looked for have worked or they don't apply (Mainly because we do not use Windows Authentication in our website)</p>
  <p>Thanks in advance</p>
  <p><strong>EDIT:</strong> Anonymous Authentication has the same configuration on both sides</p>