Update Windows/CertificateRequests.md
This commit is contained in:
@@ -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 = @()
|
||||
|
||||
Reference in New Issue
Block a user