ssl certificate install

Here is information about customize your F series firmware.
Post Reply

testalways
SamyGO Project Donor
Posts: 6
Joined: Mon Feb 02, 2015 4:18 pm

ssl certificate install

Post by testalways » Fri Dec 15, 2017 9:03 pm

anyone found a way to install ssl certificate

if i just replace the existing ones will it work?

Code: Select all

ps | grep -i http
 1772 app        0:01 /mtd_exe/WebServerApp/bin/lighttpd -D -k 5A7A33C721E2B9F6E64B31D0D43DB33ABEB1AA359B3E0E1514486CAF4FF7DF74  -f /mtd_exe/WebServerApp/webserver/lighttpd.conf -s
18125 root       0:00 grep -i http
cat /mtd_exe/WebServerApp/webserver/lighttpd.conf | grep -i ssl
debug.log-ssl-noise = LOGGING_ENABLE
# SSL configuration
     ssl.engine                  = "enable"
     ssl.pemfile                 = "/mtd_exe/WebServerApp/webserver/server.cer"
#     ssl.pemfile                 = root + "/cert/server.pem"
     ssl.engine                  = "enable"
     ssl.pemfile                 = "/mtd_exe/WebServerApp/webserver/server.cer"
     ssl.ca-file                 = "/mtd_exe/WebServerApp/webserver/ca.cer"
#      ssl.use-sslv2  = "disable"
     ssl.verifyclient.activate = "enable"
     ssl.verifyclient.enforce = "enable"
     ssl.verifyclient.depth = 2
#     ssl.verifyclient.username = "SSL_CLIENT_S_DN_CN"
#     ssl.verifyclient.username = "SamsungTV Apps"
#     ssl.engine                  = "enable"
    #ssl.pemfile                 = "/home/sbyrch/sslDIR/certificates/test.pem"
#     ssl.pemfile                 = "/mtd_rwarea/tvtest.pem"

testalways
SamyGO Project Donor
Posts: 6
Joined: Mon Feb 02, 2015 4:18 pm

Re: ssl certificate install

Post by testalways » Fri Dec 15, 2017 9:06 pm

the apps that make http requests seem to be "webkitwebprocess" and "exeAPP" mostly

Code: Select all

netstat -a inet -p | grep -i 100
netstat: showing only processes with your user ID
netstat: /proc/net/tcp6: No such file or directory
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory
tcp        0      0 192.168.100.17:52345    0.0.0.0:*               LISTEN      142/exeAPP
tcp        0      0 192.168.100.17:7676     0.0.0.0:*               LISTEN      142/exeAPP
tcp       38      0 192.168.100.17:58755    ec2-34-242-175-3.eu-west-1.compute.amazonaws.com:443 CLOSE_WAIT  142/exeAPP
tcp        0      1 192.168.100.17:50031    ec2-52-206-135-149.compute-1.amazonaws.com:443 SYN_SENT    689/MrsAgent
tcp       38      0 192.168.100.17:59490    ec2-52-11-45-1.us-west-2.compute.amazonaws.com:443 CLOSE_WAIT  142/exeAPP
tcp        1      0 192.168.100.17:56754    207.36.95.31:80         CLOSE_WAIT  142/exeAPP
tcp       70      0 192.168.100.17:39142    ec2-50-19-110-110.compute-1.amazonaws.com:443 CLOSE_WAIT  900/WebKitWebProces
tcp       38      0 192.168.100.17:54064    ec2-52-10-162-89.us-west-2.compute.amazonaws.com:443 CLOSE_WAIT  142/exeAPP
tcp       70      0 192.168.100.17:39140    ec2-50-19-110-110.compute-1.amazonaws.com:443 CLOSE_WAIT  900/WebKitWebProces
tcp       38      0 192.168.100.17:56114    207.36.95.10:443        CLOSE_WAIT  142/exeAPP
tcp        0      0 192.168.100.17:38037    192.168.100.17:8080     TIME_WAIT   -
tcp        0      0 192.168.100.17:38039    192.168.100.17:8080     TIME_WAIT   -
tcp       70      0 192.168.100.17:32850    ec2-52-29-158-33.eu-central-1.compute.amazonaws.com:443 CLOSE_WAIT  900/WebKitWebProces
tcp        0      0 192.168.100.17:3123     192.168.100.1:62234     ESTABLISHED 1443/samygo_telnetd
tcp       70      0 192.168.100.17:50781    ec2-52-59-116-144.eu-central-1.compute.amazonaws.com:443 CLOSE_WAIT  900/WebKitWebProces
tcp        0      0 192.168.100.17:38040    192.168.100.17:8080     TIME_WAIT   -
tcp        1      0 192.168.100.17:51550    ec2-52-39-1-172.us-west-2.compute.amazonaws.com:80 CLOSE_WAIT  900/WebKitWebProces
tcp       38      0 192.168.100.17:56121    207.36.95.10:443        CLOSE_WAIT  142/exeAPP
tcp        0      0 192.168.100.17:38036    192.168.100.17:8080     TIME_WAIT   -
tcp        0      0 192.168.100.17:38038    192.168.100.17:8080     TIME_WAIT   -
tcp        0      0 192.168.100.17:38035    192.168.100.17:8080     TIME_WAIT   -
tcp       38      0 192.168.100.17:58754    ec2-34-242-175-3.eu-west-1.compute.amazonaws.com:443 CLOSE_WAIT  142/exeAPP
udp        0      0 192.168.100.17:24234    0.0.0.0:*                           142/exeAPP
udp        0      0 192.168.100.17:24234    0.0.0.0:*                           1772/lighttpd

testalways
SamyGO Project Donor
Posts: 6
Joined: Mon Feb 02, 2015 4:18 pm

Re: ssl certificate install

Post by testalways » Fri Dec 15, 2017 9:07 pm

and both start in "/mtd_exe" folder

Code: Select all

ps | grep -i webkitweb
  900 app        0:12 /mtd_exe/Webkit/WebKitWebProcess 113:WE 16
19343 app        0:16 /mtd_exe/Webkit/WebKitWebProcess 19046:WC 8
21979 root       0:00 grep -i webkitweb
ps | grep -i exeapp
  140 root       0:00 {exe} ash /mtd_exe/launch_exeAPP.sh
  142 app        3:59 /mtd_exe/exeAPP -vdbinder
23933 root       0:00 grep -i exeapp

Post Reply

Return to “[F] Firmware”