SupermanInNY
Verified User
- Joined
- Sep 28, 2004
- Messages
- 428
Hi All,
I migrated all my clients from a CentOS 6 server to a CentOS 7 server.
All is working fine,. except that suddenly, all clients who use gmail are getting an error with their hostname.
mail.domainname.com gives now an error msg:
TLS Negotiation failed, the certificate doesn't match the host.
When I put my Server's hostname instead of their personal mail.theirdomain.com in the hostname,. then it works fine.
I have LetsEncrypt with mail.theirdomainname.com set up and showing that it has an SSL.
However, if I try to access it via https,.. it shows a warning of "wrong certificate" and is showing indeed the server's hostname certificate.
So what I"m missing about this step?
:/usr/local/directadmin/conf # vi directadmin.conf
...
enable_ssl_sni=1
mail_sni=1
ssl=1
I rebooted the server after I applied these settings.
I have run
cd /usr/local/directadmin/scripts
./letsencrypt.sh request_single `hostname` 4096
(so at least this one is responding)
But, how to make it work with all ssl certificate locations?
/usr/local/directadmin/conf # exim -bV
Exim version 4.96 #2 built 31-Jul-2022 11:47:04
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2022
Berkeley DB: Berkeley DB 5.3.21: (May 11, 2012)
Support for: crypteq IPv6 Perl OpenSSL TLS_resume move_frozen_messages Content_Scanning DKIM DNSSEC Event OCSP PIPECONNECT PRDR Queue_Ramp SPF SRS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Malware: f-protd f-prot6d drweb aveserver fsecure kavdaemon sophie clamd mksd avast sock cmdline
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
2022-07-31 16:08:31 cwd=/usr/local/directadmin/conf 2 args: exim -bV
Configuration file is /etc/exim.conf
/usr/local/directadmin/conf # less /etc/exim.conf
# SpamBlockerTechnology* powered exim.conf, Version 4.5.41
# July 18, 2022
# Exim configuration file for DirectAdmin
# Requires exim.pl as distributed by DirectAdmin here:
# http://files.directadmin.com/services/exim.pl version 21 or higher
# ClamAV optional
# SpamAssassin optional
# Dovecot/IMAP Mandatory
# *SpamBlockerTechnology is a Trademark of NoBaloney In
Thanks for any input.
-Sup.
I migrated all my clients from a CentOS 6 server to a CentOS 7 server.
All is working fine,. except that suddenly, all clients who use gmail are getting an error with their hostname.
mail.domainname.com gives now an error msg:
TLS Negotiation failed, the certificate doesn't match the host.
When I put my Server's hostname instead of their personal mail.theirdomain.com in the hostname,. then it works fine.
I have LetsEncrypt with mail.theirdomainname.com set up and showing that it has an SSL.
However, if I try to access it via https,.. it shows a warning of "wrong certificate" and is showing indeed the server's hostname certificate.
So what I"m missing about this step?
:/usr/local/directadmin/conf # vi directadmin.conf
...
enable_ssl_sni=1
mail_sni=1
ssl=1
I rebooted the server after I applied these settings.
I have run
cd /usr/local/directadmin/scripts
./letsencrypt.sh request_single `hostname` 4096
(so at least this one is responding)
But, how to make it work with all ssl certificate locations?
/usr/local/directadmin/conf # exim -bV
Exim version 4.96 #2 built 31-Jul-2022 11:47:04
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2022
Berkeley DB: Berkeley DB 5.3.21: (May 11, 2012)
Support for: crypteq IPv6 Perl OpenSSL TLS_resume move_frozen_messages Content_Scanning DKIM DNSSEC Event OCSP PIPECONNECT PRDR Queue_Ramp SPF SRS TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Malware: f-protd f-prot6d drweb aveserver fsecure kavdaemon sophie clamd mksd avast sock cmdline
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
2022-07-31 16:08:31 cwd=/usr/local/directadmin/conf 2 args: exim -bV
Configuration file is /etc/exim.conf
/usr/local/directadmin/conf # less /etc/exim.conf
# SpamBlockerTechnology* powered exim.conf, Version 4.5.41
# July 18, 2022
# Exim configuration file for DirectAdmin
# Requires exim.pl as distributed by DirectAdmin here:
# http://files.directadmin.com/services/exim.pl version 21 or higher
# ClamAV optional
# SpamAssassin optional
# Dovecot/IMAP Mandatory
# *SpamBlockerTechnology is a Trademark of NoBaloney In
Thanks for any input.
-Sup.