From 16d1175f21e63b33e16c0d9f22a88236c7398e91 Mon Sep 17 00:00:00 2001 From: don philipe Date: Thu, 26 Mar 2026 10:11:57 +0100 Subject: [PATCH] Add pem-to-crt with openssl zsh func --- .zsh-custom/functions.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zsh-custom/functions.zsh b/.zsh-custom/functions.zsh index 896c636..8f62023 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 } +pem2crt() +{ + openssl x509 -inform PEM -in "$1" -out "${1%.*}.crt" +} # works only without tex-ending tex2pdf()