update : 2015.11.03
php.shukuma.com검색:
|
openssl_csr_sign(PHP 4 >= 4.2.0, PHP 5) openssl_csr_sign — Sign a CSR with another certificate (or itself) and generate a certificate 설명
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.
인수
반환값
Returns an x509 certificate resource on success, 예제
Example #1 openssl_csr_sign() example - signing a CSR (how to implement your own CA)
<?php |