[TAK CLI] Adjust Create-SelfSignedCertificate.ps1 to use the DigitalSignature KeyUsage (default) for modern browsers

This commit is contained in:
Brian Bowman 2024-10-01 18:02:47 -07:00
Родитель 263ff15d1f
Коммит 02b42bcf0f
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -74,9 +74,7 @@ try {
-CertStoreLocation "Cert:\CurrentUser\My" `
-FriendlyName "Touch Bundle Development" `
-HashAlgorithm "SHA256" `
-KeyAlgorithm "RSA" `
-KeyLength 2048 `
-KeyUsage KeyEncipherment `
-NotAfter (Get-Date).AddYears($YearsUntilExpiration) `
-NotBefore (Get-Date) `
-Subject "CN=Touch Bundle Development" `