bin/Get-RestAclList.ps1

1
2
3
4
5
6
7
8
9
10
11
function Get-RestAclList
{
    # This Function represents a way to Gather a List to Compare a Client Subject/CN Name.
    # This is meant to be updated to suit your specific needs. Such as:
    # Getting a list of names from Active Directory
    # Getting a list of names from a real Certificate Authority
    # (or ensuring they are not on the Certificate revokation list)
    # Getting a list of names from a remote endpoint of a different Web Application
    $AclList = @('RestServer', 'Client', 'DemoClient.PowerShellDemo.io')
    $AclList
}