|
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, FALSE on failure. Список изменений
Примеры
Пример #1 openssl_csr_sign() example - signing a CSR (how to implement your own CA)
<?php |
|||||