New Member
Posts: 36
Registered: ‎05-10-2017

Unable to generate certificate Let's Encrypt

Hello

Is it possible to enable the certificate on other ports since 80 and 443 are occupied by the website? And, if so, how can this be done?

Thanks in advance

New Member
Posts: 9
Registered: ‎01-26-2019
Kudos: 2

Re: Unable to generate certificate Let's Encrypt

Yes by default the installer listens to 80 and 443 to get let's encrypt to work but however, you can use 

curl -fsSL https://unms.com/install > /tmp/unms_inst.sh && sudo bash /tmp/unms_inst.sh --http-port 8080 --https-port 8443

 to change the defaults ports 

 

In addition to that you can install custom  certifications 

 

curl -fsSL https://unms.com/install > /tmp/unms_inst.sh && sudo bash /tmp/unms_inst.sh --http-port 8080 --https-port 8443 --ssl-cert-dir /etc/certificates --ssl-cert fullchain.pem --ssl-cert-key privkey.pem

 /etc/certifications is a example directory 

 

Reference :https://help.ubnt.com/hc/en-us/articles/360000119728