question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Webapp:az webapp config ssl failing

See original GitHub issue

This 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:open
  • Created 3 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kwelch2015commented, Sep 21, 2020

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.

0reactions
panchagnulacommented, Sep 25, 2020

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found