openssl_csr_new

PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
openssl_csr_new - Generates a CSR
Manual
Code Examples

Example #1 Creating a self-signed certificate

PHP Version:

Example #2 Creating a self-signed ECC certificate (as of PHP 7.1.0)

PHP Version:


Function openssl_csr_new:

OpenSSL Functions

Most used PHP functions