Quite a few of the openssl functions require a key or a certificate parameter. Following methods may be used to get them:
Certificates
Certificate Signing Requests (CSRs)
Public/Private Keys
array($key, $passphrase)
where $key represents a
key specified using the file:// or textual content notation above, and
$passphrase represents a string containing the passphrase for that
private key