On Mon, 8 Apr 2002, Erik Price wrote:
> My Apache server is currently not configured to use SSL, and I do not 
> have a certificate.  There is a possibility that I will be creating a 
> script to send POST data to another company's web service, and that 
> company requires the connection to be via SSL.  The logical way for me 
> to do this seems to be to use a socket to fire off the POST data at the 
> other server, but I am not sure what is required to connect via SSL. 
> Since browsers can do it without certificates, I would assume that I 
> don't need a certificate to do this (only for if I want to use SSL with 
> clients connecting to my server), but if someone could confirm this 
> and/or point me in the direction of the functions that allow me to use 
> SSL that would be greatly appreciated.

While it's possible that the HTTPS server is configured to require client 
certificates, generally that's not the case.

Configuring Apache for SSL has nothing to do with the ability of PHP on 
that server to make outgoing HTTPS connections to other servers.

In my experience the best way to make HTTPS connections from PHP is using 
cURL.

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to