Unsolved
1 Rookie
•
108 Posts
0
176
SCG Serial number in CLI
Is there a way to find a SCG serial number in CLI ? we haven't completed the configuration due to connectivity issue . However, we would like to fetch the serial number from alternate way.
Version: 5.18.00.20
Thanks
Saran
MarionOfr
1 Rookie
1 Rookie
•
2 Posts
0
April 17th, 2024 07:12
Hello Saran,
it may be too late for you but can help others, in 5.22 sn and version can be found by CLI in the file:
cat /var/lib/docker/volumes/esrsconfig/_data/opt/esrsve/version
SebMPro
1 Rookie
1 Rookie
•
1 Message
0
June 26th, 2024 14:47
Found these 2 commands on SCG v5.20 :
$ grep GatewaySN /var/lib/docker/volumes/esrsconfig/_data/opt/esrsve/version/esrsclient.conf
or
$ openssl x509 -noout -in /var/lib/docker/volumes/esrsconfig/_data/opt/esrsve/rsc/ca/ve-ca.crt -subject | grep -oP "CN\s*=\s*\K[^\s]+"
-----
SebM.