Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arminzqm opened this issue Feb 16, 2023 · 0 comments
Open

Comments

@arminzqm
Copy link

arminzqm commented Feb 16, 2023

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant