note 91671 deleted from function.openssl-pkey-new by thiago
| From: | thiago@php.net | Date: | Mon, 22 Jun 2009 14:16:54 +0000 |
| Subject: | note 91671 deleted from function.openssl-pkey-new by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157234@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
I always get the same key pair and the same error using the code below..
$res=openssl_pkey_new();
while($msg=openssl_error_string()){
debug($msg);
}
openssl_pkey_export($res,$privkey,$passphrase);
$pubkey=openssl_pkey_get_details($res);
$pubkey=$pubkey['key'];
error:0E06D06C:configuration file routines:NCONF_get_string:no value
does any-one have an idea?