Page 1 of 1
webmail use letsencrypt.
Posted: Mon 9. Aug 2021, 16:41
by akong77
Hello,
I know webmail can use webmail.<domain.name> and keep domain name.Could use https with letsencrypt this domain?
Re: webmail use letsencrypt.
Posted: Mon 9. Aug 2021, 17:47
by Tobi
mod_proxy is your friend
Re: webmail use letsencrypt.
Posted: Tue 10. Aug 2021, 01:55
by akong77
Could you tell me how to do it?Thanks a lot.
Re: webmail use letsencrypt.
Posted: Tue 10. Aug 2021, 09:34
by Tobi
Sorry, my mistake.
I meant mod_proxy.
Open the domain details and add the following under "additional Apache directives".
Code: Select all
SSLProxyEngine On
ProxyPass /.well-known/ !
ProxyPass / https://server.tld/webmail/
ProxyPassReverse / https://server.tld/webmail/
RequestHeader unset Accept-Encoding
RequestHeader unset Origin
RequestHeader set Referer https://server.tld/webmail/
Just change "
https://server.tld/webmail/" with your webmail URL.
Re: webmail use letsencrypt.
Posted: Wed 11. Aug 2021, 06:10
by akong77
Hello,
Thanks for your reply.
The default webail is
https://domain.tld/webmail. I want use
https://webmail.domain.tld
I know can use Configuration --> Webmail --> Keep domain name this function.
But I use
https://webmail.domain.tld it's will secure warning.Because letsencrypt only for
https://domain.tld.
Could I use
https://webmail.domain.tld?