Start a Conversation

Unsolved

1 Rookie

 • 

108 Posts

176

October 17th, 2023 16:40

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

1 Rookie

 • 

2 Posts

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

1 Rookie

 • 

1 Message

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.

No Events found!

Top