From f597d0e2ed4493bd6726aa4a4ceedb19a0fea806 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Thu, 28 Nov 2024 11:13:50 +0000 Subject: [PATCH] Add alias to check SSL cert info. --- bash_aliases | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash_aliases b/bash_aliases index c0663f8..eacaf5f 100644 --- a/bash_aliases +++ b/bash_aliases @@ -14,6 +14,9 @@ alias screen-off="sleep 0.1 && xset dpms force off" alias boot-sign-verify="sudo sign-boot && sudo verify-boot" alias rdp-session-desktop-cvd="xfreerdp3 ~/Downloads/SessionDesktop.rdpw /gateway:type:arm /sec:aad +clipboard /w:1920 /h:1000 +auto-reconnect" alias pulse-restart="systemctl --user stop pulseaudio.socket pulseaudio.service && sleep 1 && systemctl --user start pulseaudio.socket pulseaudio.service" +function ssl-server-cert() { + keytool -printcert -sslserver "$1"; +} function conda-activate() { eval "$(~/anaconda3/bin/conda shell.bash hook)"; }