Add pem-to-crt with openssl zsh func

This commit is contained in:
don philipe
2026-03-26 10:11:57 +01:00
parent 4f6b390ba6
commit 16d1175f21

View File

@@ -21,6 +21,10 @@ checkcert()
{ {
openssl s_client -connect "$1":443 2>/dev/null openssl s_client -connect "$1":443 2>/dev/null
} }
pem2crt()
{
openssl x509 -inform PEM -in "$1" -out "${1%.*}.crt"
}
# works only without tex-ending # works only without tex-ending
tex2pdf() tex2pdf()