1

Topic: help me

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.0
- Deployed with iRedMail Easy or the downloadable installer? no
- Linux/BSD distribution name and version: ubuntu20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro?no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


Newly installed version 1.6.0 ~ I want to know which directory the SSL certificate is in, after I set it all up. Google Chrome prompts that the certificate is invalid. My current certificate directory is in /etc/pki/tls/certs/

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: help me

Run "postconf -n |grep 'smtpd_tls_' | grep file", it will show you the cert / key file paths.

3

Re: help me

Last login: Fri Jun 17 09:41:01 2022 from 36.151.0.184
root@mail:~# postconf -n |grep 'smtpd_tls_' | grep file
smtp_tls_CAfile = $smtpd_tls_CAfile
smtpd_tls_CAfile = /etc/ssl/certs/iRedMail.crt
smtpd_tls_cert_file = /etc/ssl/certs/iRedMail.crt
smtpd_tls_dh1024_param_file = /etc/ssl/dh2048_param.pem
smtpd_tls_dh512_param_file = /etc/ssl/dh512_param.pem
smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
root@mail:~#

4

Re: help me

The certificate and key directories generated by my script are in /etc/pki/tls/private/iRedMail.key and /etc/pki/tls/certs/iRedMail.crt. Do you want to change these two files to cover the previous query? smtpd_tls_CAfile=/etc/ssl/certs/iRedMail.crt
smtpd_tls_cert_file = /etc/ssl/certs/iRedMail.crt directory?

5

Re: help me

The certificate is not normal ~ can not be resolved ~

Ask for help ~ get a solution

6

Re: help me

the cert is invalid because it is self signed, get a free ssl cert from letsencrypt

7

Re: help me

Is it possible to provide a tutorial for one-click scripting? Thank you~

8

Re: help me

hxbbd5918 wrote:

Is it possible to provide a tutorial for one-click scripting? Thank you~

https://docs.iredmail.org/letsencrypt.html

one-click scripting is not for who wants control of what's going on.
Follow the doc, it works.

9

Re: help me

Thank you~ The problem has been solved