PHP.nl

openssl_pkcs12_export

openssl_pkcs12_export

Exports a PKCS#12 Compatible Certificate Store File to variable

bool **openssl_pkcs12_export**  $certificate string $output  $private_key string $passphrase array $options
stores
into a string named by
in a #12 file format.

openssl_pkcs12_export``certificate``output

outputOn success, this will hold the #12.

private_key Private key component of #12 file. See for a list of valid values. Public/Private Key parameters

passphraseEncryption password for unlocking the #12 file.

optionsOptional array, other keys will be ignored.

return.success