Chrome v58以降が信頼するWindowsで自己署名証明書を作成するには、権限を昇格してPowershellを起動し、次のように入力
New-SelfSignedCertificate -CertStoreLocation Cert:\LocalMachine\My -Subject "hoge.local" -DnsName "hoge.local", "*.hoge.local" -FriendlyName "HogeCert" -NotAfter (Get-Date).AddYears(10)
#notes:
# -subject "*.hoge.local" = Sets the string subject name to the wildcard *.hoge.local
# -DnsName "hoge.local", "*.hoge.local"
# ^ Sets the subject alternative name to hoge.local, *.hoge.local. (Required by Chrome v58 and later)
# -NotAfter (Get-Date).AddYears(10) = make the certificate last 10 years. Note: only works from Windows Server 2016 / Windows 10 onwards!!