4 lines
119 B
Bash
Executable File
4 lines
119 B
Bash
Executable File
#!/bin/bash
|
|
[ -z "$1" ] || [ ! -r "$1" ] && echo "Cert file $1 not found" && exit 1
|
|
openssl x509 -in "$1" -text -noout
|