xWebsite not able to bind SSL cert

Welcome Forums DSC (Desired State Configuration) xWebsite not able to bind SSL cert

This topic contains 1 reply, has 2 voices, and was last updated by

4 years, 4 months ago.

  • Author
  • #19812

    Points: 0
    Rank: Member

    I am trying to set SSL certificate for the website in the website bindings . So I am using xWebsite resource for this , In this when I provide the resource with following details

    xWebsite NewWebsite
    Ensure = "Present"
    Name = $Node.WebSiteName
    State = "Started"
    PhysicalPath = $Node.PhysicalPath
    BindingInfo = MSFT_xWebBindingInformation
    Protocol = "HTTPS"
    Port = 443

    CertificateThumbprint = "1C283E663C0BB5FAE92A83689A85790D2B3DDA0B"
    CertificateStoreName = "MY"
    IPAddress = "";

    ApplicationPool = $Node.NewWebAppPoolName
    DependsOn = "[File]WebContent"
    I have changed my xWebsite Schema to have MY in place of personal for certificatestore name

    So when I run my configuration , I get the error :

    Failure to add certificate to web binding. Please make sure that the certificate thumbprint
    "1C283E663C0BB5FAE92A83689A85790D2B3DDA0B" is valid.
    + CategoryInfo : InvalidOperation: (:) [], CimException
    + FullyQualifiedErrorId : WebBindingCertifcateError,UpdateBindings

    I have checked the Thumbprint it is a valid one . So please Let me know what is the problem ? Any help is appreciated 

  • #19816

    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    SSL certificates usually need to be in the machine store, not your personal store, so that IIS can load them.

The topic ‘xWebsite not able to bind SSL cert’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort