openssl_csr_new

 mixed openssl_csr_new ( array $dn , resource &$privkey [, array $configargs [, array $extraattribs ]] ) 

説明

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. Note: You need to have a valid openssl.cnf installed for this function to operate correctly. See the notes under the installation section for more information.

戻り値

Returns the CSR.