I\'m very new to this. Why is openssl_pkey_new() returning false?
openssl_pkey_new()
I am using XAMPP and there is a an OpenSSL under the Apahce\\bin director
Apahce\\bin
Use openssl_error_string() to find out why openssl_pkey_new() is returning false (or any other OpenSSL error).
After your latest update, it appears that OpenSSL can't find the openssl.cnf file, as described here.
openssl.cnf