/*
2 methods, First one use reverse proxy for http from https ;
Second SSL, letsencrpty with shellinaboxd without red cross
--------------------------------------------------------------
1-method
shellinaboxd not work
---------------------------
https://www.tecmint.com/shell-in-a-box-a-web-based-ssh-terminal-to-access-remote-linux-servers/
https://www.unixmen.com/shellinabox-a-web-based-ajax-terminal-emulator/
setup firewalld
remember type 139.162.54.6 with https:// on chrome
https://139.162.54.6:4xxx
//etc/sysconfig/shellinaboxd 
-----------------------------------
# Shell in a box daemon configuration
# For details see shellinaboxd man page

# Basic options
USER=shellinabox
GROUP=shellinabox
CERTDIR=/var/lib/shellinabox
PORT=4xxx
OPTS="--disable-ssl --disable-ssl-menu -s /:LOGIN"
OPTS="--disable-ssl -s /:SSH:139.162.54.6"
---------------------------------------------------
ProxyPass /box http://yoursite.com:4xxx
ProxyPassReverse /box  http://yoursite.com:4xxx
Put it in /etc/httpd/conf/httpd.conf...
It work done after service httpd restart;service shellinaboxd restart
so now you can use proxy /box to back to http:// from https
Reference:
# Additional examples with custom options:
https://github.com/shellinabox/shellinabox/wiki/shellinaboxd_man
disabel SSL
----------------
OPTS="--disable-ssl -s /:SSH:172.104.117.54"

*/
/*
2-method
Shellinaboxd on centos7 with Let's encrypt
w------------------------------------------------------
cd /etc/letsencrypt/live/yoursite.com/
cat fullchain.pem privkey.pem > /var/lib/shellinabox/certificate-yoursite.com.pem
service shellinabox restart
On chrome:, https://yoursite.com:4xxx, no any red cross 
/etc/sysconfig/shellinaboxd file
-------------------------------
USER=shellinabox
GROUP=shellinabox
CERTDIR=/var/lib/shellinabox
#CERTDIR=/etc/letsencrypt/live/yoursite.com
PORT=4xxx
OPTS="--disable-ssl-menu -s /:LOGIN"
Reference:
https://www.waysquare.com/shellinabox-enable-ssl-using-letsencrypt-certificate/

*/