No certificate on postfix, can't send mail

I have searched the forum for similar issues

on

This category is for general issues regarding YunoHost, NOT apps.

on

This form is written in English :uk: but feel free to write in French :fr: if you’re more comfortable!

on

What type of hardware are you using

Other(?)

What YunoHost version are you running

12.0.6

How are you able to access your server

The webadmin
SSH
Direct access via physical keyboard/screen

Are you in a special context or did you perform specific tweaking on your YunoHost instance ?

no

Describe your issue

Hello,

It seem postfix has no valid certificate. When I use command “openssl s_client -connect wellby.dyndns.org:587” it return “no peer certificate available”

This bug prevent some clients (especialy Android mail client) to use SMTP. When user try to setup mailbox on these devive an error appear : server certificate not secure". And from others clients most SMTP server bounce the mail sent from my domain.

I tried to renew the certificate → no result
I tried to regen postfix conf → not result
I tried to install certificate ( postmap -F hash:/etc/postfix/sni) → no result

How can I install a certificae for SMTP ?

Thanks

Share relevant logs or error messages

CONNECTED(00000003)
4017E331807F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:…/ssl/record/ssl3_record.c:354:

no peer certificate available

No client certificate CA names sent

SSL handshake has read 5 bytes and written 323 bytes
Verification: OK

New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.