Эх сурвалжийг харах

changed file permissions of certificate

Fabian Peter Hammerle 8 жил өмнө
parent
commit
8aa3632ffd

+ 1 - 1
x509_certificate.py

@@ -46,7 +46,7 @@ def save_cert(path, cert):
         f.write(cert.public_bytes(
         f.write(cert.public_bytes(
             encoding = serialization.Encoding.PEM,
             encoding = serialization.Encoding.PEM,
             ))
             ))
-    os.chmod(path, 0600)
+    os.chmod(path, 0644)
 
 
 def load_key(path):
 def load_key(path):
     with open(path, 'rb') as f:
     with open(path, 'rb') as f: