Update Windows/CertificateRequests.md

This commit is contained in:
2024-02-26 10:22:25 +00:00
parent d837f92daa
commit 75b9b7a853

View File

@@ -4,6 +4,9 @@ First we need an installed OpenSSL on the WindowsServer.
The CodeSigning Part (Option 5) is not working yet.
```powershell
### Modules
Import-Module ActiveDirectory
### variables
$openSSLDir = "C:\Program Files\OpenSSL-Win64\bin"
@@ -165,7 +168,6 @@ function yealinks([string]$pass) {
$TEMP = "RadiusZertifikat(keyexport)"
$certStorage = "$($share)\$($TEMP)\yealinks\$(Get-Date -UFormat %Y-%m-%d_%H%M%S)\"
New-Item -Path $certStorage -Type Directory -Force | Out-Null
Import-Module ActiveDirectory
### adjust the SearchBase
$users = Get-ADUser -SearchBase "OU=Users,DC=mydomain,DC=local" -Filter * -Properties *
$ext = @()