added script to download certiicates

This commit is contained in:
Moritz Böhme 2021-09-21 17:49:00 +02:00
parent 408b016b04
commit 749d66812b

View file

@ -0,0 +1,5 @@
#! /usr/bin/env bash
set -euo pipefail
nix-shell -p openssl \
--command "openssl s_client -showcerts -connect $1 </dev/null 2>/dev/null|openssl x509 -outform PEM > $2"