Check presence of an installed Certificate Authority [root file]

Created on Mar 13, 2020 by 

  1. copyawk -v cmd='openssl x509 -noout -subject' '/BEGIN/{close(cmd)};{print|cmd}' < /etc/ssl/certs/ca-certificates.crt | grep "USERTrust RSA"


description

credit to https://unix.stackexchange.com/questions/97244/list-all-available-ssl-ca-certificates - just putting it here for easy reference.

awk


name

awk — pattern scanning and processing language

synopsis

awk [−F sepstring] [−v assignment]... program [argument...]

awk [−F sepstring] −f progfile [−f progfile]... [−v assignment]...
[argument...]

description

The awk utility shall execute programs written in the awk programming language, which is specialized for textual data manipulation. An awk program is a sequence of patterns and corresponding actions. When input is read that matches a pattern, the action associated with that pattern is carried out.

grep


name

grep, egrep, fgrep, rgrep - print lines matching a pattern

synopsis

grep [OPTIONS] PATTERN [FILE...]
grep [OPTIONS] [-e PATTERN]... [-f FILE]... [FILE...]

description

grep searches the named input FILEs for lines containing a match to the given PATTERN. If no files are specified, or if the file “-” is given, grep searches standard input. By default, grep prints the matching lines.