Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fdf2931

Browse files
author
chrisdee
committed
Updates to ADFS Commands PowerShell Script
1 parent 228f2e8 commit fdf2931

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

PowerShell/Working/ADFS/UsefulADFSCommands.ps1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ Get-ADFSRelyingPartyTrust -Name $RelyingPartyTrust
2929
$RelyingPartyTrust = "YourRelyingPartyTrustName"
3030
Set-ADFSRelyingPartyTrust -TargetName $RelyingPartyTrust -Name "YourNewRelyingPartyTrustName"
3131

32-
# Update Relying Party Trust Signing Certificate Revocation Check from 'CheckChainExcludeRoot' to 'None'
32+
# Update Relying Party Trust Signing Certificate Revocation Check from 'CheckChainExcludeRoot' (default) to 'None'
3333

3434
$RelyingPartyTrust = "YourRelyingPartyTrustName"
35-
Set-ADFSRelyingPartyTrust -TargetName $RelyingPartyTrust -SigningCertificateRevocationCheck "None"
35+
Set-ADFSRelyingPartyTrust -TargetName $RelyingPartyTrust -SigningCertificateRevocationCheck "None"
36+
37+
# Update Relying Party Trust Signature Algorithm from 'SHA-256' (default) to 'SHA-1'
38+
39+
$RelyingPartyTrust = "YourRelyingPartyTrustName"
40+
Set-ADFSRelyingPartyTrust -TargetName $RelyingPartyTrust -SignatureAlgorithm "http://www.w3.org/2000/09/xmldsig#rsa-sha1"

0 commit comments

Comments
 (0)