title: Can't build Angular 9 project on RHEL 8 with FIPS enabled
body: <p>We need to use RHEL 8 with Angular 9. By default RHEL 8 has FIPS enabled. When trying to build an Angular 9 application get the error below. Tried setting FIPS=0 but it messes up many of the java libraries. In RHEL 7 we could set FIPS=0 to build, but not with RHEL 8.</p>
  <p>I believe this is because it's using the md5 hash algorithm, which is not FIPS compliant.</p>
  <ul>
  <li>If this is true, how to select a different hash algorithm?</li>
  <li>If not, how to successfully build with FIPS enabled?</li>
  </ul>
  <pre><code>Error: error:060800C8:digital envelope routines:EVP_DigestInit_ex:disabled for FIPS
      at new Hash (internal/crypto/hash.js:46:19)
      at Object.createHash (crypto.js:115:10)
      at NgccConfiguration.computeHash (/home/b73134/displays/amp-workspace/node_modules/@angular/compiler-cli/ngcc/src/packages/configuration.js:216:29)
      at new NgccConfiguration (/home/b73134/displays/amp-workspace/node_modules/@angular/compiler-cli/ngcc/src/packages/configuration.js:108:30)
      at Object.mainNgcc (/home/b73134/displays/amp-workspace/node_modules/@angular/compiler-cli/ngcc/src/main.js:46:22)
      at /home/b73134/displays/amp-workspace/node_modules/@angular/compiler-cli/ngcc/main-ngcc.js:34:53
      at step (/home/b73134/displays/amp-workspace/node_modules/tslib/tslib.js:141:27)
      at Object.next (/home/b73134/displays/amp-workspace/node_modules/tslib/tslib.js:122:57)
      at /home/b73134/displays/amp-workspace/node_modules/tslib/tslib.js:115:75
      at new Promise (&lt;anonymous&gt;)
  
  </code></pre>
  <h1>Openssl Version</h1>
  <pre><code>OpenSSL 1.1.1g FIPS  21 Apr 2020
  </code></pre>
  <h1>Angular CLI Info</h1>
  <pre class="lang-sh prettyprint-override"><code>Angular CLI: 9.1.5
  Node: 14.15.0
  OS: linux x64
  
  Angular: 9.1.6
  ... animations, common, compiler, compiler-cli, core, forms
  ... language-service, platform-browser, platform-browser-dynamic
  ... router
  Ivy Workspace: Yes
  
  Package                            Version
  ------------------------------------------------------------
  @angular-devkit/architect          0.901.12
  @angular-devkit/build-angular      0.901.5
  @angular-devkit/build-ng-packagr   0.901.13
  @angular-devkit/build-optimizer    0.901.5
  @angular-devkit/build-webpack      0.901.5
  @angular-devkit/core               9.1.12
  @angular-devkit/schematics         9.1.12
  @angular/cdk                       9.2.4
  @angular/cli                       9.1.5
  @angular/flex-layout               9.0.0-beta.31
  @angular/material                  9.2.4
  @angular/material-moment-adapter   &lt;error&gt;
  @ngtools/webpack                   9.1.5
  @schematics/angular                9.1.12
  @schematics/update                 0.901.5
  ng-packagr                         9.1.5
  rxjs                               6.6.2
  typescript                         3.8.3
  webpack                            4.42.0
  </code></pre>