2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-01 10:09:57 +00:00
pict-rs/scripts/setup-tls.sh
2024-01-31 17:47:42 -06:00

9 lines
244 B
Bash
Executable file

#!/usr/bin/env bash
set -xe
mkdir -p ./data
certstrap --depot-path ./data init --common-name pictrsCA
certstrap --depot-path ./data request-cert --common-name pictrs --domain localhost
certstrap --depot-path ./data sign pictrs --CA pictrsCA