mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 12:31:00 +00:00
10 lines
244 B
Bash
10 lines
244 B
Bash
|
#!/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
|