Posted by Colin McKinnon on 11/14/13 11:22
bastardx wrote:
> Hi List
>
> I have form on my website but I need to send result of this form to
> address outside my server.
> I need to use X.509 v.3 certificate to secure this. Can you point me to
> some doc how to do that?
> I use php 4.X, apache,linux, sendmail.
>
> p.s or should I use smtp() instead of mail()
I guess you mean that the MTA server connection requires SSL (x.509 certs
can also be used to *sign* emails).
It's rather tricky to do directly from PHP. An easier option might be to use
stunnel to proxy the connection. You'll need a lot more information about
the other end, particlaurly:
1) do the use a negotiated TLS connection or is it encapsulated SMTP
(SMTPS)?
2) What level of authentication do they require - IIRC the spec does not
require any level of authentication (i.e. you can usea self-signed cert)
but some vendors products do require to establish the trust.
HTH
C.
[Back to original message]
|