note 123411 added to function.openssl-pkey-new
| From: | Anonymous@php.net | Date: | Sat, 08 Dec 2018 13:48:32 +0000 |
| Subject: | note 123411 added to function.openssl-pkey-new | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209863@lists.php.net to get a copy of this message | ||
Windows users... not forget the $configargs
<?php
$configargs = array(
//path to your .cnf
"config" => "C:/xampp/php/extras/openssl/openssl.cnf",
'private_key_bits'=> 2048,
'default_md' => "sha256",
);
// Create the keypair
$res=openssl_pkey_new($configargs);
// Get private key
openssl_pkey_export($res, $privKey,NULL,$configargs);
?>
this error take me fix it 3 days, you'r welcome :D
----
Server IP: 208.43.231.9
Probable Submitter: 187.190.29.26
----
Manual Page -- http://php.net/manual/en/function.openssl-pkey-new.php
Edit -- https://master.php.net/note/edit/123411
Del: integrated -- https://master.php.net/note/delete/123411/integrated
Del: useless -- https://master.php.net/note/delete/123411/useless
Del: bad code -- https://master.php.net/note/delete/123411/bad+code
Del: spam -- https://master.php.net/note/delete/123411/spam
Del: non-english -- https://master.php.net/note/delete/123411/non-english
Del: in docs -- https://master.php.net/note/delete/123411/in+docs
Del: other reasons-- https://master.php.net/note/delete/123411
Reject -- https://master.php.net/note/reject/123411
Search -- https://master.php.net/manage/user-notes.php