First, open the openssl extension
;extension=openssl
Semicolon removed
using openssl_error_string () Gets the following error string
error:02001003:system library:fopen:No such process
PHP Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in PHP Warning: openssl_x509_export(): cannot get cert from parameter 1 in PHP Warning: openssl_pkcs12_export(): cannot get cert from parameter 1 in
Configuration View phpinfo
Openssl default configC:\Program Files (x86)\Common Files\SSL/openssl.cnf
And this is not the actual files in this directory, under the installation directory php
extras\ssl\openssl.cnf
Copied it
Openssl default config | C:\Program Files (x86)\Common Files\SSL/openssl.cnf |