我需要做的OpenSSL扩展工作在我的xampp(Windows)上? :(

我已经尝试了所有….但不行! 我没有把libeay32.dll和ssleay32.dll放在System32的windows文件夹中,我在php.ini上启用了php_openssl.dll扩展名。 但是,执行下面的代码时,会发生一些错误。 我的openSSL版本是1.0.0。 任何人都可以帮助我?

码:

$configargs = array( 'config' => 'openssl.cnf', 'digest_alg' => 'md5', 'x509_extensions' => 'v3_ca', 'req_extensions' => 'v3_req', 'private_key_bits' => 666, 'private_key_type' => OPENSSL_KEYTYPE_RSA, 'encrypt_key' => false, ); $dn = array( "countryName" => "DE", "stateOrProvinceName" => "wubbla wubbla", "localityName" => "wubbla", "organizationName" => "Internet Widgits Pty Ltd", "organizationalUnitName" => "Organizational Unit Name", "commonName" => "example.com", "emailAddress" => "Email Address" ); $csr = openssl_csr_new($dn, $privkey, $configargs); // Show any errors that occurred here while (($e = openssl_error_string()) !== false) { echo $e . "\n"; } 

错误:

 error:02001003:system library:fopen:No such process error:2006D080:BIO routines:BIO_new_file:no such file error:0E064002:configuration file routines:CONF_load:system lib error:02001002:system library:fopen:No such file or directory error:2006D080:BIO routines:BIO_new_file:no such file error:0E064002:configuration file routines:CONF_load:system lib 

Solutions Collecting From Web of "我需要做的OpenSSL扩展工作在我的xampp(Windows)上? :("