pict-rs/scripts/setup-tls.sh

10 lines
244 B
Bash
Raw Normal View History

2024-01-31 23:47:42 +00:00
#!/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