-
Notifications
You must be signed in to change notification settings - Fork 3k
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
webapp: ssl bind fails due to \r in thumbprint #16090
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp. Issue DetailsWhen I did this.... wwwSslThumbprint=$(az webapp config ssl list --query "[?name=='www.$customRootDomain'].thumbprint" --output tsv)
echo $wwwSslThumbprint
az webapp config ssl bind --certificate-thumbprint $wwwSslThumbprint --ssl-type SNI --verbose I get this error. But if when I did this... wwwSslThumbprint=$(az webapp config ssl list --query "[?name=='www.$customRootDomain'].thumbprint" --output tsv | sed "s/\r//g")
echo $wwwSslThumbprint
az webapp config ssl bind --certificate-thumbprint $wwwSslThumbprint --ssl-type SNI --verbose It works! Note that I've had to remove the carriage return in the extracted thumbprint by using az version info {
"azure-cli": "2.15.1",
"azure-cli-core": "2.15.1",
"azure-cli-telemetry": "1.0.6",
"extensions": {}
} Microsoft Windows [Version 10.0.18363.1198] Ubuntu wsl version: 2 Document Details⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
|
route to appropriate team |
@panchagnula looks like we need to trim trailing carriage return on the thumbprint |
Please see the explanation at #13573 (comment). |
When I did this....
I get this error.
'not found. for thumbprint'{thumbprint}
But if when I did this...
It works!
Note that I've had to remove the carriage return in the extracted thumbprint by using
sed "s/\r//g"
.az version info
Microsoft Windows [Version 10.0.18363.1198]
Ubuntu wsl version: 2
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: