Skip to content

Commit

Permalink
Test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
webprofusion-chrisc committed Jun 4, 2018
1 parent 20675c1 commit 3073e12
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/Certify.Core/Management/Servers/ServerProviderIIS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ public async Task<bool> IsSNISupported()

public async Task<ActionStep> AddOrUpdateSiteBinding(BindingInfo bindingSpec, bool addNew)
{
if (string.IsNullOrEmpty(bindingSpec.SiteId)) throw new Exception("IIS.AddOrUpdateSiteBinding: SiteId not specified");

var result = new ActionStep { };

using (var iisManager = await GetDefaultServerManager())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,8 @@ public async Task TestChallengeRequestDNS()
ChallengeProvider= "DNS01.API.Route53",
ChallengeCredentialKey=_awsCredStorageKey
}
}
},
DeploymentSiteOption = DeploymentOption.SingleSite
},
ItemType = ManagedCertificateType.SSL_LetsEncrypt_LocalIIS
};
Expand Down Expand Up @@ -564,4 +565,4 @@ private string GetPreviewSummary(List<ActionStep> steps)
return output;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ public async Task TestLongBinding()
CertificateHashBytes = cert.GetCertHash(),
CertificateStore = certStoreName,
Port = 443,
Protocol = "https"
Protocol = "https",
SiteId= site.Id.ToString()
}
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ All Sites(*.test.co.uk)
}
}),
PerformAutomatedCertBinding = true,
WebsiteRootPath = "c:\\inetpub\\wwwroot"
WebsiteRootPath = "c:\\inetpub\\wwwroot",
DeploymentSiteOption = DeploymentOption.SingleSite
},
ItemType = ManagedCertificateType.SSL_LetsEncrypt_LocalIIS
};
Expand Down

0 comments on commit 3073e12

Please sign in to comment.