Skip to content

Commit

Permalink
updated/correcte scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Jeanneret committed Nov 26, 2014
1 parent c8223f7 commit b1882a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion puppet/ssl/create-cert
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ certName=$(basename $2 .cnf)
ca=$1

openssl req -new \
-config $1 \
-config $2 \
-out certs/${certName}.csr \
-nodes
openssl ca \
Expand Down
4 changes: 2 additions & 2 deletions puppet/ssl/create-pki
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ openssl ca -gencrl \
-out crl/root-ca.crl


# Create three sub-ca in order to manage right accesses
for i in client common osd; do
# Create sub-ca in order to manage right accesses
for i in common osd; do

mkdir -p ca/${i}-ca/{private,db}
chmod 0700 ca/${i}-ca/private
Expand Down

0 comments on commit b1882a7

Please sign in to comment.