Examples/Sample_xSSLSettings_RequireCert.ps1

configuration Sample_xSSLSetting_RequireCert
{
    param
    (
        # Target nodes to apply the configuration
        [String[]] $NodeName = 'localhost'
    )

    # Import the module that defines custom resources
    Import-DscResource -Module xWebAdministration

    Node $NodeName
    {
         xSSLSettings SiteDefaults
         {
            Ensure   = 'Present'
            Name     = 'contoso.com'
            Bindings = @('Ssl', 'SslNegotiateCert', 'SslRequireCert')
         }
    }
}