sane-ssl-dump: remove
i never used it
This commit is contained in:
parent
e559f1b960
commit
8eb83bb283
|
@ -42,7 +42,6 @@ in
|
||||||
"sane-scripts.secrets-unlock"
|
"sane-scripts.secrets-unlock"
|
||||||
"sane-scripts.secrets-update-keys"
|
"sane-scripts.secrets-update-keys"
|
||||||
"sane-scripts.shutdown"
|
"sane-scripts.shutdown"
|
||||||
"sane-scripts.ssl-dump"
|
|
||||||
"sane-scripts.sudo-redirect"
|
"sane-scripts.sudo-redirect"
|
||||||
"sane-scripts.sync-from-servo"
|
"sane-scripts.sync-from-servo"
|
||||||
"sane-scripts.vpn"
|
"sane-scripts.vpn"
|
||||||
|
|
|
@ -171,11 +171,6 @@ let
|
||||||
src = ./src;
|
src = ./src;
|
||||||
pkgs = [ "inetutils" "systemd" ];
|
pkgs = [ "inetutils" "systemd" ];
|
||||||
};
|
};
|
||||||
ssl-dump = static-nix-shell.mkBash {
|
|
||||||
pname = "sane-ssl-dump";
|
|
||||||
src = ./src;
|
|
||||||
pkgs = [ "openssl" ];
|
|
||||||
};
|
|
||||||
stop-all-servo = static-nix-shell.mkBash {
|
stop-all-servo = static-nix-shell.mkBash {
|
||||||
pname = "sane-stop-all-servo";
|
pname = "sane-stop-all-servo";
|
||||||
src = ./src;
|
src = ./src;
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
#!/usr/bin/env nix-shell
|
|
||||||
#!nix-shell -i bash -p openssl
|
|
||||||
|
|
||||||
# dump info about the provided SSL certificate
|
|
||||||
cert="$1"
|
|
||||||
maybe_sudo=
|
|
||||||
|
|
||||||
if ! (test -e "$cert")
|
|
||||||
then
|
|
||||||
cert="/var/lib/acme/${cert}/full.pem"
|
|
||||||
maybe_sudo=sudo
|
|
||||||
fi
|
|
||||||
|
|
||||||
# $maybe_sudo openssl x509 -in "$file" -text
|
|
||||||
$maybe_sudo openssl crl2pkcs7 -nocrl -certfile "$cert" | openssl pkcs7 -print_certs -text -noout
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user