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