PHP 8.5.0 Alpha 1 available for testing

Voting

: min(three, one)?
(Example: nine)

The Note You're Voting On

Anonymous
11 years ago
If you want to include CA-Certificates in the PKCS12 it can be accomplished by using the $args parameter.
<?php
$args
= array(
'extracerts' => $CAcert,
'friendly_name' => 'My signed cert by CA certificate'
);
openssl_pkcs12_export($signed_csr, $cerificate_out, $private_key_resource, $passphrase, $args);
?>

<< Back to user notes page

To Top