danr
May 30, 2023, 2:41am
1
In server configuration > ssl certificate > the button copy ssl certificate to service don’t works, if I create an new virtual server it works.
SYSTEM INFORMATION
OS type and version
almalinux 9.2
Webmin version
2.021
Virtualmin version
7.7 pro
Related packages
SUGGESTED
I might be wrong, but I think with a shared system you can only one virtual server to copy ssl to service. Only websites and have different ssl certs.
danr
May 30, 2023, 7:50pm
3
no because It worked a few days ago with the existing virtual server.
when I create a new virtual server I don’t have the problem
danr
May 31, 2023, 4:02pm
4
I found a solution, apparently virtualmin has a bug, it does not edit the files dovecot.conf and sni_map
how to :
edit : /etc/dovecot/dovecot.conf
local_name domain.com {
ssl_cert = </etc/ssl/virtualmin/domain_id/ssl.combined
ssl_key = </etc/ssl/virtualmin/domain_id/ssl.key
}
local_name *.domain.com {
ssl_cert = </etc/ssl/virtualmin/domain_id/ssl.combined
ssl_key = </etc/ssl/virtualmin/domain_id/ssl.key
}
edit /etc/postfix/sni_map
domain.com/etc/ssl/virtualmin/domain_id/ssl.key,/etc/ssl/virtualmin/domain_id/ssl.cert
.domain.com/etc/ssl/virtualmin/domain_id/ssl.key,/etc/ssl/virtualmin/domain_id/ssl.cert
restart postfix and dovecot
1 Like
I see these already for each of my virtual domains, each has those lines, maybe its a bug on your OS.
But why then does the mail client complain unless I use use my main domain… I will need to test.
By Virtualmin I still can only set 1 default domain.
and its copy the cert to (see below)
system
Closed
June 8, 2023, 9:12pm
6
This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.