Skip to content

Commit

Permalink
config/deploy/certs cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-sk committed Apr 8, 2014
1 parent 0bb6796 commit 01de3e9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 67 deletions.
19 changes: 0 additions & 19 deletions config/certs/server.crt

This file was deleted.

17 changes: 0 additions & 17 deletions config/certs/server.csr

This file was deleted.

27 changes: 0 additions & 27 deletions config/certs/server.key

This file was deleted.

1 change: 0 additions & 1 deletion config/deploy/rfwgen
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ if __name__ == '__main__':
print usage()
sys.exit(-1)

#TODO set umask and/or individual file permissions
os.umask(0077)

server_dir = 'server_{}'.format(server_ip)
Expand Down
8 changes: 5 additions & 3 deletions config/certs/gen_certs.sh → config/notes/gen_certs.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#!/usr/bin/env sh

# Here are notes on creating certs and CA

#################################
# For now we create the self-signed cert as per:
# 1. Self-signed cert
#################################
# https://devcenter.heroku.com/articles/ssl-certificate-self

# Generate private key and certificate signing request
Expand All @@ -17,9 +19,9 @@ openssl x509 -req -days 3653 -in server.csr -signkey server.key -out server.crt


#################################
# In the future automate creating single CA and sign certs for every server.
# 2. Create CA and sign certs
#################################
# See http://blog.didierstevens.com/2008/12/30/howto-make-your-own-cert-with-openssl/
# Here is the procedure

# generate a 4096-bit long RSA key for the root CA if does not exist
openssl genrsa -out ca.key 4096
Expand Down

0 comments on commit 01de3e9

Please sign in to comment.