2

I'm new to MongoDB and I'm not sure what I am missing in this.

MongoDB advises that as of v4.0, it uses the native OpenSSL libraries; but no matter what, my build or install from the repository, the OpenSSL binary appears to be part of the install and is always version 1.0.1e.

I want to use another OpenSSL version, which is installed and accessible on my machine, so that I can interact with an external source via PKCS11 for external generation and protection of keys.

This doesn't seem to be part of Mongo's documentation at all, just that native libraries are used; I think that as long as I can feed in an openssl.cnf file I could have the functionality I need, but I can't find the right commands to do this either.

Has anyone else tried this?

migrated from security.stackexchange.com Apr 5 at 20:39

This question came from our site for information security professionals.

  • 1
    I'm voting to close this question as off-topic because it essentially asks how to build mongodb against some local version of a specific library. While in this case this specific library is openssl the question by itself is about the build process which is unrelated to security. – Steffen Ullrich Apr 5 at 5:44
  • I agree with @SteffenUllrich. – FranzHuber23 Apr 5 at 5:54
  • Understood. I'll ask in another community. – gangr33n Apr 5 at 6:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy