Webapp:az webapp config ssl failing
See original GitHub issueThis is autogenerated. Please review and update as needed.
Trying to add certificate to webapp using powershell but constantly failing at this error:
Command Name
az webapp config ssl upload
Errors:
[('PKCS12 routines', 'PKCS12_parse', 'mac verify failure')]
Traceback (most recent call last):
Temp\pip-unpacked-wheel-2q13h4sp\knack\cli.py, ln 215, in invoke
cli\core\commands\__init__.py, ln 654, in execute
cli\core\commands\__init__.py, ln 718, in _run_jobs_serially
cli\core\commands\__init__.py, ln 711, in _run_job
Local\Temp\pip-unpacked-wheel-39yzrobz\six.py, ln 703, in reraise
cli\core\commands\__init__.py, ln 688, in _run_job
...
Temp\pip-unpacked-wheel-15a0onnd\OpenSSL\crypto.py, ln 3067, in load_pkcs12
Temp\pip-unpacked-wheel-15a0onnd\OpenSSL\_util.py, ln 54, in exception_from_error_queue
OpenSSL.crypto.Error: [('PKCS12 routines', 'PKCS12_parse', 'mac verify failure')]
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here…
az webapp config ssl upload --certificate-file {} --certificate-password {} --name {} --resource-group {} --debug
Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.8
Installer: MSI
azure-cli 2.10.0 *
Additional Context
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
az webapp config ssl - Microsoft Learn
Configure SSL certificates for web apps. In this article. Commands; az webapp config ssl bind; az webapp config ssl create; az webapp config...
Read more >azure-cli-appservice 0.2.21 - PyPI
webapp: az webapp config ssl upload, handling the scenario of uploading certificates on apps that are hosted on an ASE, where the ASE...
Read more >AzureCLI task to bind ssl certificates to web app fails
az webapp config ssl bind --certificate-thumbprint $thumbprint --ssl-type SNI --ids $id. The last step fails more often than not(so far 10 failures no...
Read more >Issue with Binding SSL for Web App only in pipelines - Reddit
az webapp config ssl bind --certificate-thumbprint $thumbprint --ssl-type SNI --ids $id. The last step fails more often than not(so far 10 ...
Read more >SSL problems running azure-webapp-maven-plugin config
I just running into the same problem following Azure Learn Java Azure. Basically, this error ocurred because Java is trying to connect with ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like this was the error we got when the password was incorrect. Fixing the password allowed the command to work. Would’ve been nice if the library gave some reasonable error instead of the stack trace. FYI - we saw this behavior on PS, command prompt and bash.
@singlessis can you see if can repro this with a bad password & check if we can fix the error message in CLI? Thanks!