Skip to content

Commit

Permalink
Fixed file permission issues for lbaas ssl certificates
Browse files Browse the repository at this point in the history
ssl certificates are with 0644 file permission which is
changed to 0600

Change-Id: I4ac0c2305dc9f031ae578e9adcce4494dcc253b4
Closes-bug: #1710859
  • Loading branch information
ymariappan authored and Yuvaraja Mariappan committed Aug 21, 2017
1 parent a653ad2 commit d0f3985
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -42,4 +42,5 @@ def create_pem_file(self, dest_dir):
f = open(pem_file_name, 'w')
f.write(pem)
f.close()
os.chmod(pem_file_name, 0600)
return pem_file_name

0 comments on commit d0f3985

Please sign in to comment.