PDA

View Full Version : Php & Ssl


ast3r3x
2007-04-25, 07:12
Does anyone know how to work with SSL using PHP? I'm trying to follow this (http://www.cse.msu.edu/~alexliu/publications/Cookie/cookie.pdf) secure cookie protocol, but I need to obtain the session key. I don't really understand how SSL works, and have never worked with it before, so any help, or even pointing me to a good tutorial (haven't been able to find one) would be amazing.

RobUSVI
2007-05-18, 06:47
If you just want encrypted traffic, then nothing special needs to be done. The web server will handle the SSL and PHP will work as normal. If you actually want to dig into SSL certificates and the like, then you need a version of PHP that has openssl enabled. I have also used CURL enabled PHP to fetch/submit SSL encoded HTTPD requests, such as needed for credit card processors.