I have built OpenJ9 with my customized OpenSSL, using --with-openssl and --enable-openssl-bundling options. I can even see libcrypto.so in the built binaries, but I'm sure they are not used when I create RSA key pair using java.security.KeyPairGenerator. How can I "force" JVM to use OpenSSL for all crypto operations? I've tried -Djdk.nativeCrypto=true That didn't make any difference.
How to make sure that OpenJ9 uses bundled OpenSSL crypto library for ALL crypto operations?
95 Views Asked by Akhil Drac At
1
There are 1 best solutions below
Related Questions in OPENSSL
- openssl: EVP_PKEY_derive failure
- Python SSL Error , Server side - Client certificate verify failing with Intermediate cert - self-signed certificate in certificate chain (_ssl.c:1007)
- Why/How does Apache auto-include "DHE" TLS1.2 ciphers while nginx needs "dhparams" file?
- OpenSSL3.0 RSA Signature Verification in C
- ESP8266 - Unable to connect to MQTT Server via SSL (mutual authentication)
- CherryPy SSL Built-in Adapter Causing Port Contention with Netcat
- Cannot Load OpenSSL in IIS
- Flutter SecureSocketServer transfer
- openssl pbkdf2 and perl
- OpenSSL with C++ app - getting undefined references during compilation
- Restore sha-1 certificate fingerprint on OpenSSL without setting security level to zero
- SSL for PostgreSQL connection nodejs and express to conection on render host service
- Decrypt ruby DES-EDE3-CBC encrypted data in Python
- Recursively calculate SHA256 sum of all files in directory using OpenSSL
- Deterministic CTR_DRBG in OpenSSL
Related Questions in OPENJ9
- `DestroyJavaVM()` failing on OpenJ9?
- JBang on OpenJ9
- Intermittent Websphere application JVM crash due to GC assertion failed
- How to build OpenJ9 for use with Kotlin without (open)JDK
- How to create a compatible heap dump with OpenJ9 via API?
- The cause field in Throwable object is set to this after popping method stack frames
- Not able to run Cassandra with Openj9 JVM
- Heap Dumps are getting generated and the error is "java/lang/OutOfMemoryError" "native memory exhausted". How to disable those Heap Dumps
- Spring Boot 2.6.X + JRE 17 Openj9 - Unhandled exception Type=Segmentation error
- Changing MacOS java version, Eclipse OpenJ9
- How to compile OpenJDK with OpenJ9 on Linux without a NUMA error?
- OpenJ9 MD5 implementation
- memory management problems with openj9 and k8s
- Image adoptopenjdk/openjdk11-openj9 not available
- How to make sure that OpenJ9 uses bundled OpenSSL crypto library for ALL crypto operations?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
OpenJ9 uses openssl for a few select functions, like Digest, CBC, GCM, RSA, and ChaCha20. It may not be used for key generation as that is a less frequently performed operation.
You could try using
-Djdk.nativeCryptoTrace=trueto verify that the native acceleration is being used.