diff --git a/zsh.d/zshfunctions/x509remote b/zsh.d/zshfunctions/x509remote new file mode 100644 index 0000000..892706b --- /dev/null +++ b/zsh.d/zshfunctions/x509remote @@ -0,0 +1,6 @@ +if [ -r "$1" ]; then + openssl s_client -connect $1 < /dev/null | \ + openssl x509 -noout -text | less +else + echo "x509remote " +fi diff --git a/zsh.d/zshfunctions/x509remote.zwc b/zsh.d/zshfunctions/x509remote.zwc new file mode 100644 index 0000000..65d120f Binary files /dev/null and b/zsh.d/zshfunctions/x509remote.zwc differ