PHP の openssl 関数を使用してキー ペアを作成しようとしていますが、エラーが発生し続けます。
error:0E06D06C:configuration file routines:NCONF_get_string:no value
構成ファイルの場所を渡したにもかかわらず(その場所に存在することを確認しました):
$res = openssl_pkey_new( array('config' => '/etc/ssl/openssl.cnf' ));
//Print errors
while ($msg = openssl_error_string()) echo $msg . "d<br />\n";
シンボリックリンクを作成しても/usr/local/ssl/openssl.cnf
問題は解決しませんでした。
チェックするphpinfo()
と、SSLが有効になっています。
私は何を間違っていますか?