Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.
This repository was archived by the owner on May 30, 2025. It is now read-only.

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

@mr-tron

Description

@mr-tron
 +++ 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+")

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions