-
Notifications
You must be signed in to change notification settings - Fork 149
SslSettings
dscbot edited this page Jul 31, 2025
·
3 revisions
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| Name | Key | String | Name of website in which to modify the SSL Settings | |
| Bindings | Required | StringArray[] | The Bindings in which to modify for the website | ``, Ssl, `SslNegotiateCert`, `SslRequireCert`, `Ssl128` |
| Ensure | Write | String | Whether the bindings should be present or absent |
Present, Absent
|
The SslSettings DSC resource is used to...
- Target machine must be running Windows Server 2012 R2 or later.
All issues are not listed here, see here for all open issues.
configuration Sample_SslSettings_RequireCert
{
param
(
# Target nodes to apply the configuration
[String[]] $NodeName = 'localhost'
)
# Import the module that defines custom resources
Import-DscResource -Module WebAdministrationDsc
Node $NodeName
{
SslSettings SiteDefaults
{
Ensure = 'Present'
Name = 'contoso.com'
Bindings = @('Ssl', 'SslNegotiateCert', 'SslRequireCert')
}
}
}