October 17, 2014 at 12:58 am #19812
No Achievements Yet!
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
Ensure = "Present"
Name = $Node.WebSiteName
State = "Started"
PhysicalPath = $Node.PhysicalPath
BindingInfo = MSFT_xWebBindingInformation
Protocol = "HTTPS"
Port = 443
CertificateThumbprint = "1C283E663C0BB5FAE92A83689A85790D2B3DDA0B"
CertificateStoreName = "MY"
IPAddress = "172.17.3.112";
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
October 17, 2014 at 5:20 am #19816
SSL certificates usually need to be in the machine store, not your personal store, so that IIS can load them.
You must be logged in to reply to this topic.