Error initializing public key: Unable to load SSL routine RSA_generate_key
Posted by - NA -, Last modified by Wayne Smith on 13 December 2016 04:12 PM

Issue: If Miva Merchant is reporting the error: Error initializing public key: Unable to load SSL routine RSA_generate_key┬Ł when trying to install the Production Releases or when trying to activate encryption.



Solution:

Locate libssl.so and libcrypto.so. Usually they're in /usr/lib/

NOTE: if not in /usr/lib, you will be fine with libssl.so but libcrypto.so.0.9.7 MUST go in /usr/lib. From here you will need to configure Empresa's configuration file. Use the exact path to the openssl files.



If using a mivavm.conf, use:

openssl=/path/to/libssl.so

openssl_crypto=/path/to/libcrypto.so.0.9.7



If the host is setting MvCONFIG variables in httpd.conf, use the below configurations and restart apache:



SetEnv MvCONFIG_SSL_OPENSSL /path/to/libssl.so

SetEnv MvCONFIG_SSL_CRYPTO /path/to/libcrypto.so.0.9.7

*Note* If you're using a Verio FreeBSD server you need to use the /usr/lib/compat/libssl.so and /usr/lib/compat/libcrypto.so openssl files. Remember to use the highest version number, ie libssl.so.2.


Audience: Server Administrators with super user or root access

(352 vote(s))
This article was helpful
This article was 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. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?