openssl_csr_get_subject
PHP 5 >= 5.2.0, PHP 7, PHP 8
openssl_csr_get_subject - Returns the subject of a CSR
Code Examples
Example #1 openssl_csr_get_subject() example
Result: Array
(
[C] => CA
[ST] => Alberta
[L] => Calgary
[O] => XYZ Widgets Inc
[OU] => PHP Documentation Team
[CN] => Wez Furlong
[emailAddress] => wez@example.com
)