File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -52,21 +52,19 @@ export CA_CERT="/etc/ssl/certs/cacert.pem"
5252export CA_KEY=" /etc/ssl/private/cakey.pem"
5353export CA_INFO=" /etc/ssl/ca.info"
5454
55- # If you ever need to regenerate these...
56- # certtool --generate-privkey > /path/to/cakey.pem
57- # certtool --generate-self-signed \
58- # --load-privkey /path/to/cakey.pem
59- # --template /path/to/ca.info
60- # --outfile /path/to/cacert.pem
55+ # The self-signed fixture CA cert & key are generated by
56+ # `script/generate-fiuxture-ca` and checked into version control.
57+ # You shouldn't need to muck with these unless you're writing more
58+ # TLS/SSL integration tests, and need special magic values in the cert.
6159
6260cp " ${SEED_PATH} /ca/cacert.pem" " ${CA_CERT} "
6361cp " ${SEED_PATH} /ca/cakey.pem" " ${CA_KEY} "
6462cp " ${SEED_PATH} /ca/ca.info" " ${CA_INFO} "
6563
6664# Make a private key for the server:
6765certtool --generate-privkey \
68- --bits 1024 \
69- --outfile /etc/ssl/private/ldap01_slapd_key.pem
66+ --bits 1024 \
67+ --outfile /etc/ssl/private/ldap01_slapd_key.pem
7068
7169sh -c " cat > /etc/ssl/ldap01.info <<EOF
7270organization = Example Company
You can’t perform that action at this time.
0 commit comments