virtualization:esxi:esxi_on_hyper-v
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| virtualization:esxi:esxi_on_hyper-v [2023/11/24 13:42] – mikoto | virtualization:esxi:esxi_on_hyper-v [2023/11/24 14:00] (現在) – mikoto | ||
|---|---|---|---|
| 行 10: | 行 10: | ||
| </ | </ | ||
| + | デジタル署名されていないとエラーが出る場合は以下のファイルを作成 | ||
| + | <file powershell selfsign.ps1> | ||
| + | # 署名用の証明書を作成 | ||
| + | $cert = New-SelfSignedCertificate ` | ||
| + | -Subject " | ||
| + | -KeyAlgorithm RSA ` | ||
| + | -KeyLength 2048 ` | ||
| + | -Type CodeSigningCert ` | ||
| + | -CertStoreLocation Cert: | ||
| + | -NotAfter ([datetime]" | ||
| + | # 信頼済みのルートとして使用 | ||
| + | Move-Item " | ||
| + | |||
| + | # 証明書への参照を取得 | ||
| + | $rootcert = @(Get-ChildItem cert: | ||
| + | # スクリプトに署名 | ||
| + | Set-AuthenticodeSignature D: | ||
| + | </ | ||
virtualization/esxi/esxi_on_hyper-v.1700800956.txt.gz · 最終更新: 2023/11/24 13:42 by mikoto