Re: [PHP] openssl question

2011-04-18 Thread Sean Greenslade
On Wed, Apr 6, 2011 at 3:41 PM, Kai Renz writeme...@googlemail.com wrote: Hi, i try to create a self signed certificate using this code: snip I'm using a windows box with xampp installed. regards. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] openssl question

2011-04-06 Thread Kai Renz
Hi, i try to create a self signed certificate using this code: ?php if(!isset($_GET['password'])) { echo Error Code: 1; exit(1); } if($_GET['password'] == ) { echo Error Code 2;

[PHP] PHP OpenSSL question

2003-03-04 Thread Pierre-Luc Soucy
Hi, I have loaded the appropriate keys: //load keys $ca_file = openssl_x509_read('file://'.$ca_file); $public_key = openssl_pkey_get_public('file://'.$public_key_file); $private_key = openssl_pkey_get_private('file://'.$private_key_file); and can successfully encrypt data: $to_send = '?xml