Hello everyone,
I have ran into quite a difficult problem to solve as I have been trying over and over to solve it but with no success yet. I am hoping that one person more intelligent than me can do something about it.
the problem is the SSL issued for mailserver which tend to always be a self signed certificate. However the problem seems more complex since I tried some command with putty.
Here is what I know and set up :
- I have installed on mail.mydomain.com mautic
- my mail server is also called the same " mail.mydomain.com "
- I have set up DNS on Cloudflare for mail.mydomain.com pointing toward the right IP address and proxy greyed out as (A record).
- another 2 MX records with mydomain.com as name and points toward mail.mydomain.com on content with 2 priority value different.
-SSL for hostname / domain name works perfectly fine and issue SSL from let’s encrypt.
The situation at the beginning :
-Any mailserver SSL issued turned to a self signed SSL and this is the log I had :
Here is what I have tried that did some change to the system :
-run the command cyberpanel upgrade with : wget -O - https://raw.githubusercontent.com/usmannasir/cyberpanel/stable/preUpgrade.sh
-run this command to issue SSL from prompt : /root/.acme.sh/acme.sh --issue -d mail.mydomain.com -d mail.mydomain.com --cert-file /etc/letsencrypt/live/mail.mydomain.com/cert.pem --key-file /etc/letsencrypt/live/mail.mydomain.com/privkey.pem --fullchain-file /etc/letsencrypt/live/mail.mydomain.com/fullchain.pem -w /home/mail.mydomain.com/public_html --force --server letsencrypt
What the result has changed :
-with the second command, I have witnessed that going into cyberpanel => websites => list of websites => mail.mydomain.com the green box changed from " self signed SSL " to " let’s encrypt SSL ". However, when going on the website mail.mydomain.com, the SSL certificate seems not working and website still reads message of unsafety. Did this command issue SSL to a domain name and not a mailserver ?
I have then tried issueing mailserver SSL from cyberpanel SSL => mailserver SSL , and this is the log I have :
Now the log doesn’t show self signed SSL issueing so I ran into tls check and made an assessment, here is the result :
still a self signed SSL for mailserver… So I don’t know what to do… I am okay to share DNS or other information with moderators if that helps to solve the problems. Please help if you know where the problem can come from.




