-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I create an SSL binding when the certificate is already installed? #61
Comments
From @jianghaolu on May 2, 2017 19:3 I'll add support for this in the next release. |
From @jianghaolu on June 14, 2017 21:19 This is supported in v1.1.0. |
From @j055 on June 20, 2017 17:26 How do we use this? I tried the following:
ALL CERTIFICATES stop working in the site including site.azurewebsites.net. The browser presents a 'Select a Certificate' dialog with 403 error saying the site is stopped when in fact it isn't: The Azure portal shows everything working normally even though the certs are broken. The WebApp needs deleting and recreating to fix it. |
@jianghaolu please followup with the sample link. |
From @j055 on June 26, 2017 15:52 This is easily reproducible:
The site now returns HTTP 403 forbidden. |
From @Dona278 on September 6, 2017 15:22 @j055 To add a certificate binding to an existing web app i used: await azure.WebApps.Inner
.CreateOrUpdateHostNameBindingAsync(
RESOURCE_GROUP_NAME,
WEB_APP_NAME,
EXISTING_BINDED_TO_WEB_APP_HOSTNAME,
new HostNameBindingInner(
azureResourceType: AzureResourceType.Website,
hostNameType: HostNameType.Verified,
customHostNameDnsRecordType: CustomHostNameDnsRecordType.CName // or A depends on the type of hostname,
sslState: SslState.SniEnabled,
thumbprint: CERTIFICATE_THUMBPRINT)); |
From @j055 on October 2, 2017 10:4 @Dona278. Thanks. in v1.3
|
This one helped! Thanks! |
This is now supported in 1.14.0 release through https://github.com/Azure/azure-libraries-for-net/blob/master/src/ResourceManagement/AppService/Domain/HostNameSslBinding/Definition/IDefinition.cs#L109. |
Hi, sorry but I can't follow the specifc fluent code I need to execute this.. I have tried: _azure.WebApps.GetById(AppInstanceId).Update() But this does not work. Can anyone supply code that works against the interface defined by @jianghaolu |
From @j055 on March 14, 2017 21:5
I have a wildcard certificate installed in the webapp. How do I create an SSL Binding to a certificate which is already installed? I was expecting to specify the thumbprint but it looks like I have to upload the cert every time I create a binding.
Thanks
Andrew
Copied from original issue: Azure/azure-sdk-for-net#2935
The text was updated successfully, but these errors were encountered: