Hi,

I'm trying to relay mail to a host that is using AUTH and SSL on port
465 therefore opensmtp need to verify certificate when connecting.

Config

pki srvmail certificate "/etc/ssl/srvmail.crt"
pki srvmail key "/etc/ssl/private/srvmail.key"

accept from any sender <senderspec> for any relay via
smtps+auth://[email protected]:465 auth <userauth> pki srvmail
verify

# ls -all /etc/mail/certs/
-rw-r--r--  1 root  wheel  1956 Jul  1 12:09 aruba.it.cert
-rw-r--r--  1 root  wheel  1956 Jul  1 11:26 smtps.pec.aruba.it.cert

but I get

smtp-out: Connected on session 310e2e4444579894

smtp-out: Started TLS on session 310e2e4444579894: version=TLSv1.2,
cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256

smtp-out: Error on session 310e2e4444579894: SSL certificate check failed

and can't figure out what I'm doing wrong

any advice?

regards

-- 
Matteo Filippetto
http://www.op83.eu
@matteo_1983

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to