Using an Ubuntu PC
FOXSAT-HDR with Custom Firmware v4.1.1
Dropbear SSH
Open a terminal on Ubuntu
ssh root@foxsat-hdr cd /opt/etc mkdir ./ssl mkdir ./ssl/certs
Open another terminal on Ubuntu
cd sudo /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf ./foxsat-hdr.pem
When prompted for the hostname, change localhost to foxsat-hdr
Copy the self signed certificate that has just been created to the FOXSAT-HDR
sudo scp ./foxsat-hdr.pem root@foxsat-hdr:/opt/etc/ssl/certs/
You can delete the certificate from your home directory when you are happy a copy is on the FOXSAT-HDR.
Close this terminal and return to the other terminal with the SSH session.
cd /opt/etc vi mongoose.conf
Change
listening_ports 80,777
to
listening_ports 80,443s
You can retain 777 if you are using it, but make sure you have 443s. You can also change 80 to 80r to force http redirection to https but it is best not to do that until you can prove https is working first.
Add the configuration line for the SSL certificate
ssl_certificate /opt/etc/ssl/certs/foxsat-hdr.pem
Save the file and quit vi.
DOES NOT WORK. NO SSL ON THE BOX!