mirror of
https://github.com/c9fe/22120.git
synced 2024-08-18 23:29:45 +02:00
11 lines
303 B
Bash
Executable File
11 lines
303 B
Bash
Executable File
#!/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
|
|
|