Multple Domain
mehmetozbakir opened this issue · 11 comments
Dear,
I have installed with successfully, So, my question I done it with one mailserver with One domain (xxxxxx.com) but I need one mailserver 3 domains included. What I should to do.
Please read through the readme in homepage, it's broadly documented how to add additional domains to the cert request
Please read through the readme in homepage, it's broadly documented how to add additional domains to the cert request
Brother I didn't understand what I have to do but I did " certbot_zimbra.sh -n -c -e xxxxx.com " but I got this result ;
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: gaziantepnetsisbayi.com
Type: unauthorized
Detail: Invalid response from
http://gaziantepnetsisbayi.com/.well-known/acme-challenge/4rKDJm2307-ELG1ZoX8XgR9lTZ4l6Uc3tq7NoFS7EDo
[173.249.5.108]: "\n\n<title>404 Not
Found</title>\n\nNot Found
\n<p"To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
Error: /usr/bin/certbot exit status 1. Cannot proceed, exiting.
An error seems to have occurred. Please read the output above for clues and try to rectify the situation.
If you believe this is an error with the script, please file an issue at https://github.com/YetOpen/certbot-zimbra.
It seems the domain you required is not on your server or is not configured properly. Is 173.249.5.108 your Zimbra server? The domain you are requesting (http://gaziantepnetsisbayi.com) doesn't seem a Zimbra login
I am using that code for installing.
"
# root kullanıcısından zimbra kullanıcısına geçilecek
Set default Zimbra proxy ports for web, pop3, imap and admin
/opt/zimbra/libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x https -H `zmhostname`
/opt/zimbra/libexec/zmproxyconfig -e -m -o -i 7143:143:7993:993 -p 7110:110:7995:995 -H `zmhostname`
/opt/zimbra/libexec/zmproxyconfig -e -m -H `zmhostname`
--------------
Enable reverse proxy
zmprov ms `zmhostname` zimbraMailReferMode reverse-proxied
--------------
Enable memcached
zmprov ms `zmhostname` +zimbraServiceEnabled memcached
--------------
Enable redirect mode
zmprov ms `zmhostname` zimbraReverseProxyMailMode redirect
--------------
Set public service ports
zmprov md <YOUR MAIN DOMAIN> zimbraPublicServicePort 443
zmprov md <YOUR MAIN DOMAIN> zimbraPublicServiceProtocol https
zmprov mcf zimbraPublicServiceHostname `zmhostname`
zmmailboxdctl restart
# root kullanıcısına geçilecek
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot -y
https://github.com/YetOpen/certbot-zimbra/releases ( bu siteden son version)
wget --content-disposition https://github.com/YetOpen/certbot-zimbra/archive/0.7.11.tar.gz
tar xzf certbot-zimbra-0.7.11.tar.gz
cd certbot-zimbra-0.7.11
chmod +x certbot_zimbra.sh
chown root: certbot_zimbra.sh
mv certbot_zimbra.sh /usr/local/bin/
cd /usr/local/bin/
certbot_zimbra.sh -n -c
"
with that fully succesfull installing with 1 domain.
It seems the domain you required is not on your server or is not configured properly. Is 173.249.5.108 your Zimbra server? The domain you are requesting (http://gaziantepnetsisbayi.com) doesn't seem a Zimbra login
are you there brother ?
You have to use -e mail.gizaohsting.com
You have to use
-e mail.gizaohsting.com
mail.gizahosting.com is the main zimbra hosting name , accordingly I added as the domain gizahosting.com and gaziantepnetsisbayi.com , on the this code zmprov md gizahosting.com zimbraPublicServicePort 443 zmprov md gizahosting.com zimbraPublicServiceProtocol https
it's working as certificated but I couldn't added gaziantepnetsisbayi.com on it. if you have anydesk or teamviewer if possible would like to show you how to done it.
gaziantepnetsisbayi.com
doesn't lead to Zimbra. Fix your zimbraPublicServiceHostname
I confiured as /opt/zimbra/libexec/zmproxyconfig -e -m -H mail.gizahosting.com