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

Deprecation Warning seen in logs when exporting pfx of certificate #616

Open
opoverlord opened this issue Jan 3, 2022 · 1 comment
Open

Comments

@opoverlord
Copy link

On normal run of the process, the certificate does get renewed, and at the moment, it is still being exported as pfx successfully. However, please see the warning found in the logs:

Hook 'deploy-hook' ran with error output:
 /usr/local/lib/python3.9/site-packages/dnsrobocert/core/hooks.py:162: DeprecationWarning: str for passphrase is no longer accepted, use bytes
   f.write(p12.export(pfx.get("passphrase")))

Refers to this line in hooks.py.

I'm using the latest image - created on: 2021-11-18T19:32:55.433255547Z

Thanks

@adferrand
Copy link
Owner

Thanks, I will provide a fix to avoid the soon-to-be removal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants