$ cd Users/YOURNAME/Library/Application\ Support/Local\ by\ Flywheel/router/certs
$ openssl req -new -newkey rsa:2048 -sha256 -nodes \
-out visualive.dev.csr \
-keyout visualive.dev.key \
-subj "/C=JP/ST=Saitama/L=Warabi/O=VisuAlive./OU=IT/CN=visualive.dev" \
-reqexts SAN \
-config <(cat /etc/ssl/openssl.cnf <(printf "[SAN]\nsubjectAltName=DNS:visualive.dev,DNS:*.visualive.dev"))
# 正常に発行されているかの確認コマンド
# 確認しない場合は実行しなくてもよい
$ openssl req -in visualive.dev.csr -text -noout
$ openssl x509 -days 3650 -req \
-signkey visualive.dev.key < visualive.dev.csr > visualive.dev.crt \
-extensions SAN \
-extfile <(cat /etc/ssl/openssl.cnf <(printf "[SAN]\nsubjectAltName=DNS:visualive.dev,DNS:*.visualive.dev"))