UNPKG

440 BMarkdownView Raw
1Create certificates similar to the instructions in:
2https://letsencrypt.org/docs/certificates-for-localhost/
3
4```
5openssl req \
6 -newkey rsa:2048 \
7 -x509 \
8 -nodes \
9 -sha256 \
10 -out bedrock.localhost.crt \
11 -keyout bedrock.localhost.key \
12 -days 10000 \
13 -subj '/CN=bedrock.localhost' \
14 -reqexts SAN \
15 -extensions SAN \
16 -config <(cat /etc/ssl/openssl.cnf \
17 <(printf '[SAN]\nsubjectAltName=DNS:bedrock.localhost')) \
18```