既定の設定を変更して、自己署名証明書を発行したい場合は New-SelfSignedCertificate のコマンドレットにオプションを指定して発行します。 詳細は以下にご案内します。 自己署名証明書の発行手順(詳細版) 1) 管理者権限で PowerShell を開きます。 2) PowerShell にて以下のコマンドを実行します。 New-SelfSignedCertificate ` -Type SSLServerAuthentication ` -Subject “webserver01” ` -DnsName “webserver01.contoso.com” ` -KeyLength “4096”` -KeyExportPolicy Exportable ` -NotAfter (Get-Date).AddYears(5) ※オプション数が多いのでバッククオート(`) を利
![【Windows】PowerShell で自己署名証明書を発行する手順 | ねこまるの AD フリーク](https://cdn-ak-scissors.b.st-hatena.com/image/square/3b6b2dcd5d055f96e5fb56fc2dc1a99a93a5764e/height=288;version=1;width=512/https%3A%2F%2Fpkiwithadcs.com%2Fwp-content%2Fuploads%2F2020%2F12%2Feye7.png)