
Ignatius Teo - 2010-07-21 05:30:48
If you get the following error:
openssl_csr_sign() cannot get CSR from parameter 1
... it's because the path to the openssl.cnf is wrong.
In OpenSSL.php, change the "config" value in the public declaration of Crypt_OpenSSL::$sslConfig
i.e.
public $sslConfig = array(
...
"config" => "/etc/pki/tls/openssl.cnf" // <-- point this to YOUR openssl.cnf
);