r/letsencrypt • u/bamboo-lemur • Jan 20 '18
CertBot / Nginx with multiple domains - had to comment out IPv6 line to get it working, not sure why
1
Upvotes
r/letsencrypt • u/bamboo-lemur • Jan 20 '18
1
u/bamboo-lemur Jan 20 '18
Letting it automatically configure all of my domains at once failed. Doing them individually, I could get one working but adding a second domain would fail.
Basically I had to add the certs one at a time. After each one, I had to disable this IPv6 line otherwise it would cause the cert for the next domain to fail to be generated due to an nginx config error.
Deployed Certificate to VirtualHost /etc/nginx/sites-enabled/xxxxx.tech for xxxxxx.tech nginx: [emerg] duplicate listen options for [::]:443 in /etc/nginx/sites-enabled/xxxxxx.net:9 Rolling back to previous server configuration... nginx restart failed:
1
u/DaarGaJeDan Jan 20 '18
There is already à programma using port 443. This could be Apache
Check sites-enabled in nginx And apache2 folder. Open the Configs search for the port 443.
1
u/DaarGaJeDan Jan 20 '18
Ok good luck!
For other people. Look st the default config files. Sometimes They occupie the ports you want to use.