From a65784223d05c40bd65b16ea795ff91c87f9af8c Mon Sep 17 00:00:00 2001 From: don philipe Date: Tue, 11 Aug 2026 09:35:41 +0200 Subject: [PATCH] Add zsh func to print ssl cert --- .zsh-custom/functions.zsh | 4 ++++ 1 file changed, 4 insertions(+) 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"