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

Check writing trust bundle certificate to temporary file in binary format #26

Open
mr-tron opened this issue Mar 27, 2020 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@mr-tron
Copy link
Contributor

mr-tron commented Mar 27, 2020

 +++ b/openstack-heat-plugin-venafi/resources/venafi_certificate.py
@@ -247,7 +247,7 @@ class VenafiCertificate(resource.Resource):
     else:
       tmp_dir = tempfile.gettempdir()
 
-      f = open(path.join(tmp_dir, 'venafi-temp-trust-bundle.pem'), "w+")
+      f = open(path.join(tmp_dir, 'venafi-temp-trust-bundle.pem'), "wb+")
@tr1ck3r tr1ck3r added the enhancement New feature or request label Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants