Angular Build fails with "error:060800A3:digital envelope routines:EVP_DigestInit_ex:disabled for fips" on FIPS-enabled OpenShift Container Platform Cluster
Issue
-
When trying to build an Angular application on an OpenShift Container Platform cluster with FIPS mode enabled, the build fails with the following error message:
$ ng build --prod Error: error:060800A3:digital envelope routines:EVP_DigestInit_ex:disabled for fips at new Hash (internal/crypto/hash.js:48:19) at Object.createHash (crypto.js:111:10) at NgccConfiguration.computeHash (/tmp/workspace/my-project/app/node_modules/@angular/compiler-cli/ngcc/src/packages/configuration.js:216:29) [..]
-
Using the
openshift4/jenkins-agent-nodejs-12-rhel7
image to build an Angular application leads to the above error.
Environment
- Red Hat OpenShift Container Platform (OCP) 4.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.