[SR-Dev] git:master: tls: ser_cert.sh portability fixes