File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,12 @@ New-BinarySignature -CertFriendlyName "PSCodeSigningTest" -BinPath "C:\Temp\Test
2828## Potential use cases
2929
3030### RDP File Signing
31- I've used the code signing certificate to sign .rdp files in order to avoid the certificate warning.
31+ Use the code signing certificate generated with ` New-CodeSigningCert.ps1 ` to sign .rdp files in order to avoid the certificate warning.
3232- Create the .rdp file with all of the settings you'll need
3333- Generate a certificate using ` New-CodeSigningCert `
3434- Get the thumbprint of the certificate you'll use to sign the .rdp file with ` Get-ChildItem -Path Cert:CurrentUser\My `
3535- Run ` rdpsign.exe /sha1 <thumbprint> C:\Path\To\workstation.rdp `
3636- Configure group policy to trust the certificate
3737- `Import-Module .\Set-RDPTrustedPublishers.psm1`
3838- `Set-RDPTrustedPublishers -SHA1Thumb <thumbprint> -Verbose`
39+ - As an alternative, you can manually configure the GPO if desired. Reference: https://blog.superautomation.co.uk/2020/10/rdp-file-signing.html
You can’t perform that action at this time.
0 commit comments