Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by Norton Alex
at 2024-08-31 10:31:42
Point:500 Replies:1 POST_ID:829261USER_ID:12423
Topic:
shellinabox;linux;centos8;chrome
Recently, I have installed shellinabox on my centOS 8, it is NO problem when
typing http://mysite.com:4xxx, where 4xxx is port number,
But when I type https
https://mysite.com:4xxx,
Chrome browser will show red-cross-mark on my site address bar, it is warning..
How can get rid of that red-cross-mark
Any comment ?
Accepted Solution
Expert: peter john replied at 2024-08-31 11:03:39
500 points Excellent
I read back some memo at
https://computer28.com/data/doc2/shellinaboxd-not-work.doc2.phpwhich is just draft not offical document.
You have 2 methods
Method-1:
Editetc/sysconfig/shellinaboxd file
change this as follows:
---------------
# Shell in a box daemon configuration
# For details see shellinaboxd man page
# Basic options
USER=shellinabox
GROUP=shellinabox
CERTDIR=/var/lib/shellinabox
PORT=4200
OPTS="--disable-ssl --disable-ssl-menu -s /:LOGIN"
OPTS="--disable-ssl -s /:SSH:139.162.54.6"
Method 2:
If u are usingletsencrpty for your SSL certificate, try this
---------------------------------------------------------------------
cd /etc/letsencrypt/live/yoursite.com/
cat fullchain.pem privkey.pem > /var/lib/shellinabox/certificate-yoursite.com.pem
-----------------------
reboot or service shellinabox restart
ps -aux |grep shellinabox ///check
the red-mark will be gone when type https://yoursite.com:4xxx
hope it help