mirror of
https://github.com/c9fe/22120.git
synced 2024-11-04 10:02:42 +01:00
11 lines
303 B
Bash
11 lines
303 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
which brew || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||
|
which mkcert || brew install mkcert
|
||
|
mkdir -p $HOME/local-sslcerts
|
||
|
cd $HOME/local-sslcerts
|
||
|
|
||
|
mkcert -key-file privkey.pem -cert-file fullchain.pem localhost
|
||
|
mkcert -install
|
||
|
|