Skip to content
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

az webapp config ssl (show, list) doesn't return thumbprint #19581

Closed
fifron opened this issue Sep 16, 2021 · 7 comments
Closed

az webapp config ssl (show, list) doesn't return thumbprint #19581

fifron opened this issue Sep 16, 2021 · 7 comments
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team. Web Apps az webapp

Comments

@fifron
Copy link

fifron commented Sep 16, 2021

Today I noticed that commands:
az webapp config ssl show ...
az webapp config ssl list ...
don't return thumbprint value. Thumbprint is empty:
"thumbprint": ""

I need thumbprint value for generating SSL + certificate for my custom domain.

My sequence is:
az webapp config ssl create ...
az webapp config ssl show ... (read thumbprint. Sometimes you have to wait few minutes)
az webapp config ssl bind ... (use thumbprint)

Has the way how to read thumbprint changed?

Expected Behavior

I know "This command is in preview and under development".
But I expect I am able to generate SSL

I am able to bind SSL via Azure web portal. Here it works.

Environment Summary

macOS-11.5.2-x86_64-i386-64bit
Python 3.8.7
Installer: HOMEBREW

azure-cli 2.19.1

Extensions:
resource-graph 1.1.0
@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Sep 16, 2021
@yonzhan yonzhan added the Web Apps az webapp label Sep 16, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Sep 16, 2021
@yonzhan yonzhan added Service Attention This issue is responsible by Azure service team. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Sep 16, 2021
@ghost
Copy link

ghost commented Sep 16, 2021

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.

Issue Details

Today I noticed that commands:
az webapp config ssl show ...
az webapp config ssl list ...
don't return thumbprint value. Thumbprint is empty:
"thumbprint": ""

I need thumbprint value for generating SSL + certificate for my custom domain.

My sequence is:
az webapp config ssl create ...
az webapp config ssl show ... (read thumbprint. Sometimes you have to wait few minutes)
az webapp config ssl bind ... (use thumbprint)

Has the way how to read thumbprint changed?

Expected Behavior

I know "This command is in preview and under development".
But I expect I am able to generate SSL

I am able to bind SSL via Azure web portal. Here it works.

Environment Summary

macOS-11.5.2-x86_64-i386-64bit
Python 3.8.7
Installer: HOMEBREW

azure-cli 2.19.1

Extensions:
resource-graph 1.1.0
Author: fifron
Assignees: -
Labels:

Web Apps, Service Attention, customer-reported

Milestone: -

@yonzhan
Copy link
Collaborator

yonzhan commented Sep 16, 2021

route to service team

@panchagnula
Copy link
Contributor

@fifron I assuming your question is specific to ManagedCerts, which doesn't have Thumbprint - for Managed Certs Thumbprint is not required. The managed certs command update will be released next released for this. In the meantime you can use the following , sorry for the inconvenience. The API changes deployment & the CLI deployment didn't coincide as planned.
Using CLI
az rest --method PUT --uri 'https://management.azure.com/subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferOut?api-version=2021-02-01'

Using PowerShell
Invoke-AzRestMethod -Path "/subscriptions/{subId}/resourcegroups/{rename}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferout?api-version=2021-02-01" -Method PUT

@fifron
Copy link
Author

fifron commented Sep 17, 2021

@fifron I assuming your question is specific to ManagedCerts, which doesn't have Thumbprint - for Managed Certs Thumbprint is not required. The managed certs command update will be released next released for this. In the meantime you can use the following , sorry for the inconvenience. The API changes deployment & the CLI deployment didn't coincide as planned.
Using CLI
az rest --method PUT --uri 'https://management.azure.com/subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferOut?api-version=2021-02-01'

Using PowerShell
Invoke-AzRestMethod -Path "/subscriptions/{subId}/resourcegroups/{rename}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferout?api-version=2021-02-01" -Method PUT

@panchagnula You are right, I use ManagedCerts. I am sure Thumbprints were working in the past. This change must be from last days.
Do you know the date of new release? Will be new command placed under "az webapp config"?

I have tried your command DomainRegistration, but unsuccessfully.
I expect that it is because I use common AppService creating with:
az webapp create ...
az webapp config hostname add ...
so I don't have any domain.

@Shrinathbcone
Copy link

@panchagnula Thumbprint and SSL binding was working fine few days back and we have been used as an input parameter in our automation deployment code.

Our deployment cycle is wedged as this is impacting customer service and customer engagement.
Kindly let us know if there is an alternative approach to get thumbprint since we are using ManagedCerts for App services.

@panchagnula
Copy link
Contributor

@panchagnula Thumbprint and SSL binding was working fine few days back and we have been used as an input parameter in our automation deployment code.

Our deployment cycle is wedged as this is impacting customer service and customer engagement.
Kindly let us know if there is an alternative approach to get thumbprint since we are using ManagedCerts for App services.

@Shrinathbcone see the CLI command offered above to use for binding without needing Thumbprint as alternate approach
pasting it here again az rest --method PUT --uri 'https://management.azure.com/subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.DomainRegistration/domains/{domainName}/transferOut?api-version=2021-02-01'

@yonzhan yonzhan removed this from the Sep 2021 (2021-10-12) milestone Oct 5, 2021
@RakeshMohanMSFT RakeshMohanMSFT self-assigned this Apr 21, 2022
@RakeshMohanMSFT
Copy link
Contributor

Work around provided, closing the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team. Web Apps az webapp
Projects
None yet
Development

No branches or pull requests

5 participants