|
openssl_csr_signSign a CSR with another certificate (or itself) and generate a certificate Description
resource openssl_csr_sign
( mixed
$csr
, mixed $cacert
, mixed $priv_key
, int $days
[, array $configargs
[, int $serial = 0
]] )openssl_csr_sign generates an x509 certificate resource from the given CSR.
Parameters
Return Values
Returns an x509 certificate resource on success, Examples
Example #1 openssl_csr_sign example - signing a CSR (how to implement your own CA)
<?php |