Skip to content
Snippets Groups Projects
Commit c7c3fa06 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Uh, flip things around so the comments match what I changed!

parent 8c3a7e33
No related branches found
No related tags found
No related merge requests found
......@@ -66,21 +66,21 @@ server.pem: dirsmade server.cnf ca.cnf
#
# This is for the main web server on boss.
#
apache2.pem: dirsmade apache2.cnf ca.cnf
apache.pem: dirsmade apache.cnf ca.cnf
#
# Create the server side private key and certificate request.
#
openssl req -new -config apache2.cnf \
-keyout apache2_key.pem -out apache2_req.pem
openssl req -new -config apache.cnf \
-keyout apache_key.pem -out apache_req.pem
#
# Combine key and cert request.
#
cat apache2_key.pem apache2_req.pem > newreq.pem
cat apache_key.pem apache_req.pem > newreq.pem
#
# Sign the apache cert request, creating a apache certificate.
#
openssl ca -batch -policy policy_sslxmlrpc -config ca.cnf \
-out apache2_cert.pem \
-out apache_cert.pem \
-cert cacert.pem -keyfile cakey.pem \
-infiles newreq.pem
#
......@@ -89,27 +89,27 @@ apache2.pem: dirsmade apache2.cnf ca.cnf
# installed into the apache cert/key directories by install/boss-install
# when the boss node is created.
#
cat apache2_key.pem apache2_cert.pem > apache2.pem
cat apache_key.pem apache_cert.pem > apache.pem
rm -f newreq.pem
#
# This is for the secondary web server on users.
#
apache.pem: dirsmade apache.cnf ca.cnf
apache2.pem: dirsmade apache2.cnf ca.cnf
#
# Create the server side private key and certificate request.
#
openssl req -new -config apache.cnf \
-keyout apache_key.pem -out apache_req.pem
openssl req -new -config apache2.cnf \
-keyout apache2_key.pem -out apache2_req.pem
#
# Combine key and cert request.
#
cat apache_key.pem apache_req.pem > newreq.pem
cat apache2_key.pem apache2_req.pem > newreq.pem
#
# Sign the apache cert request, creating a apache certificate.
#
openssl ca -batch -policy policy_sslxmlrpc -config ca.cnf \
-out apache_cert.pem \
-out apache2_cert.pem \
-cert cacert.pem -keyfile cakey.pem \
-infiles newreq.pem
#
......@@ -118,7 +118,7 @@ apache.pem: dirsmade apache.cnf ca.cnf
# installed into the apache cert/key directories by install/boss-install
# when the boss node is created.
#
cat apache_key.pem apache_cert.pem > apache.pem
cat apache2_key.pem apache2_cert.pem > apache2.pem
rm -f newreq.pem
capture.pem: dirsmade capture.cnf ca.cnf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment