Wietse Venema wrote:
sean darcy:
Wietse Venema wrote:
sean darcy:
Sep 13 16:00:19 asterisk postfix/smtp[1786]: warning: TLS library
problem: 1786:error:0B080074:x509 certificate
routines:X509_check_private_key:key values mismatch:x509_cmp.c:304:
Does the client private key match the client (public key) certificate?
See the Postfix TLS_README for an example of how to create these.
Wietse
It doesn't seem to need to match. But reading TLS_README realllly
closely solved it.
Counter-intuitively -at least for me - you set up all the files for
smtpd_tls... That is, you set them up as if you're a server.
That configures the certificates for the Postfix SMTP server.
You won't be using any certificates in the SMTP client.
Wietse
Right, which is puzzling. I would have assumed I was the client to the
gmail server. Why setting the certificates up as a server works makes no
sense to me, but it does work.
sean