Installing SSL Certificate on Edgerouter

You can refer to the following site: https://www.stevejenkins.com/blog/2015/10/install-an-ssl-certificate-on-a-ubiquiti-edgemax-edgerouter/

Key Step:
1) Merge the contents of your key and certificate file into a .pem file
cat hostname_example_com.key hostname_example_com.crt > server.pem
2) Backup the existing .pem file
cp /etc/lighttpd/server.pem /root/server.pem.bak
3) Copy the .pem file to the Web Server Directory
cp /root/server.pem /etc/lighttpd/server.pem
4) Reboot and Test
kill -SIGINT $(cat /var/run/lighttpd.pid)
/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf