PHP Manual
Prev |  | Next

# openssl_csr_new

(PHP 4 >= 4.2.0)

openssl_csr_new -- Generates a privkey and CSR

## Description

bool openssl_csr_new ( array dn, resource privkey [, array extraattribs [, array configargs]])

Warning
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

openssl_csr_new() generates a new CSR (Certificate Signing Request) based on the information provided by `dn`, which represents the Distinguished Name to be used in the certificate.

Prev | Home | Next
openssl_csr_export | Up | openssl_csr_sign