NYCPHP Meetup

NYPHP.org

[nycphp-talk] Working with openssl

Aaron Fischer agfische at email.smith.edu
Thu Aug 17 14:45:58 EDT 2006


csnyder wrote:
> Hmmmmm, indeed. It works for me... perhaps something else is wrong?
> 
> Demo: http://dey.fcny.org:4242/www-test/openSSLDemo.php
> Test: http://dey.fcny.org:4242/www-test/ssltest.php
> 

It does?  I visited those pages, ran it and got the same error:

Warning: openssl_private_decrypt() [function.openssl-private-decrypt]: 
key parameter is not a valid private key in 
/home/csnyder/projects/test/openSSL.php on line 115

Warning: openssl_free_key() expects parameter 1 to be resource, null 
given in /home/csnyder/projects/test/openSSL.php on line 118

-Aaron



More information about the talk mailing list