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
|