Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions dsc/secureMOF.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ The following example:
3. imports the public key certificate into the **my** certificate store on the **Authoring node**.

#### On the Target Node: create and export the certificate
>Authoring Node: Windows Server 2016 and Windows 10
>Target Node: Windows Server 2016 and Windows 10

```powershell
# note: These steps need to be performed in an Administrator PowerShell session
Expand All @@ -109,7 +109,7 @@ $cert | Export-Certificate -FilePath "$env:temp\DscPublicKey.cer" -Force
```
Once exported, the ```DscPublicKey.cer``` would need to be copied to the **Authoring Node**.

>Authoring Node: Windows Server 2012 R2/Windows 8.1 and earlier
>Target Node: Windows Server 2012 R2/Windows 8.1 and earlier

Because the New-SelfSignedCertificate cmdlet on Windows Operating Systems prior to Windows 10 and Windows Server 2016 do not support the **Type** parameter, an alternate method of creating this certificate is required on these operating systems.
In this case you can use ```makecert.exe``` or ```certutil.exe``` to create the certificate.
Expand All @@ -127,7 +127,6 @@ New-SelfsignedCertificateEx `
-FriendlyName 'DSC Credential Encryption certificate' `
-Exportable `
-StoreLocation 'LocalMachine' `
-StoreName 'My' `
-KeyLength 2048 `
-ProviderName 'Microsoft Enhanced Cryptographic Provider v1.0' `
-AlgorithmName 'RSA' `
Expand Down