From cc69a8dde31361cb401d2b6ad92546cacdd1b29b Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Thu, 22 Dec 2022 09:31:22 +0100 Subject: [PATCH] Add showcert function --- dot_config/fish/private_functions/showcert.fish | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 dot_config/fish/private_functions/showcert.fish diff --git a/dot_config/fish/private_functions/showcert.fish b/dot_config/fish/private_functions/showcert.fish new file mode 100644 index 0000000..9de2a94 --- /dev/null +++ b/dot_config/fish/private_functions/showcert.fish @@ -0,0 +1,3 @@ +function showcert +openssl s_client -connect $argv[1]:443 -servername $argv[1] -showcerts < /dev/null +end