Re: OpenSSL Encryption to a browser.

From: Date: Fri, 29 Nov 2002 12:55:37 +0000
Subject: Re: OpenSSL Encryption to a browser.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-126468@lists.php.net to get a copy of this message
> I would like to use OpenSSL to send encrypted information to a browser. > The information would be encrypted to a public key that has its private > counterpart installed in the browser. The idea is that the information > would be decrypted automatically, but only when the destination browser > has the right private key installed. Most people would leave apache (usually with mod_ssl) to handle the encryption over https. Im not even sure if you could do what I think you are asking without controlling the whole http communication (as the whole thing is SSL wrapped, or none of it). > Would it be possible to us header("Content-type: multipart/encrypted"), > since it is originally meant for messages? I think you need to look into one of the following: - Handling the requests yourself by listening to port 80 (not advisable - php wasnt built for that sort of task, but its possible) - Using ssl certificate pairs and installing them in a custom manner on the apache installation - Alternative methods PS: if your not using apache, I cant help you at all. Others may. --- Dan Hardiker [dhardiker@staff.firstcreative.net] ADAM Software & Systems Engineer First Creative

« previous php.general (#126468) next »