瀏覽代碼

changed file permissions of certificate

Fabian Peter Hammerle 8 年之前
父節點
當前提交
8aa3632ffd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      x509_certificate.py

+ 1 - 1
x509_certificate.py

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