cloudserver icon indicating copy to clipboard operation
cloudserver copied to clipboard

Failed to start s3server on the environment where fips mode is enabled

Open arminzqm opened this issue 2 years ago • 0 comments

Bug report information

(delete this section (everything between the lines) if you're not reporting a bug but requesting a feature)

Description

Failed to start s3server on the environment where fips mode is enabled

Steps to reproduce the issue

enable fips on the environment: /usr/bin/fips-mode-setup --enable start cloudserver: yarn start

Actual result

node:internal/crypto/hash:71 this[kHandle] = new _Hash(algorithm, xofLen); ^

Error: error:060800C8:digital envelope routines:EVP_DigestInit_ex:disabled for FIPS at new Hash (node:internal/crypto/hash:71:19) at Object.createHash (node:crypto:130:10) at Object. (/usr/src/app/node_modules/arsenal/build/lib/s3middleware/azureHelpers/mpuUtils.js:50:31) at Module._compile (node:internal/modules/cjs/loader:1155:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10) at Module.load (node:internal/modules/cjs/loader:1033:32) at Function.Module._load (node:internal/modules/cjs/loader:868:12) at Module.require (node:internal/modules/cjs/loader:1057:19) at require (node:internal/modules/cjs/helpers:103:18) at Object. (/usr/src/app/node_modules/arsenal/build/index.js:47:31) { library: 'digital envelope routines', function: 'EVP_DigestInit_ex', reason: 'disabled for FIPS', code: 'ERR_OSSL_EVP_DISABLED_FOR_FIPS' } ERROR: "start_s3server" exited with 1. 2023-02-16T08:27:09.348+0000 ERROR : running start-cloudserver.sh, status 1

Expected result

start clouderver successfully on the node where fips mode is enabled

Additional information

  • cloudserver: 8.7.7
  • Node.js version: v16.18.1
  • yarn version: 1.22.19
  • distribution/OS: Red Hat Enterprise Linux release 8.7 (Ootpa)

arminzqm avatar Feb 16 '23 09:02 arminzqm