Knowledgebase
Knowledgebase:
JNI library: OpenSSL DLL Conflicts when using the Windows Operating System
Posted by Mark Joseph, Last modified by Mark Joseph on 08 August 2017 09:13 AM

P6R's Secure KMIP Client (SKC) requires the libeay32.dll and ssleay32.dll OpenSSL files.   These files must be provided by the customer, and need to be the proper "bitness" to match the bitness of the P6R's DLLs in use (32 or 64 bit DLLs).  We recommend that these two files be placed into the one directory that all P6R software runs out of.  This is only necessary on the Windows Operating System since on Linux P6R software will use the installed OpenSSL libraries.

However, many Windows systems have several copies of these files spread over the file system.   For example, on 64 bit Windows systems the directory "C:\Windows\SYSWOW64" can contain 32 bit versions of these files.  Note, that Java appears to search this directory before the other directories in the path.  The result can be versions of libeay32.dll and ssleay32.dll being used that are not compatible with the P6R DLLs.  

This DLL collision can cause the JNI set up to fail.

The following provides the current version of OpenSSL that is required by P6R's SKC.

https://support.p6r.com/index.php?/Knowledgebase/Article/View/9/0/versions-of-openssl-kmip-skc-supports

 

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).