diff --git a/.zsh-custom/functions.zsh b/.zsh-custom/functions.zsh index e14cdcc..e98561f 100644 --- a/.zsh-custom/functions.zsh +++ b/.zsh-custom/functions.zsh @@ -21,6 +21,10 @@ checkcert() { openssl s_client -connect "$1":443 2>/dev/null } +showcert() +{ + openssl x509 -in "$1" -noout -text +} pem2crt() { openssl x509 -inform PEM -in "$1" -out "${1%.*}.crt"