note 123411 deleted from function.openssl-pkey-new by cmb

From: Date: Sat, 08 Dec 2018 14:08:54 +0000
Subject: note 123411 deleted from function.openssl-pkey-new by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-209864@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- 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

« previous php.notes (#209864) next »