File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,8 @@ chown -R openldap.openldap /var/lib/ldap
48
48
rm -rf $TMPDIR
49
49
50
50
# SSL
51
- export CA_CERT=" /etc/ssl/certs/cacert.pem"
52
- export CA_KEY=" /etc/ssl/private/cakey.pem"
53
- export CA_INFO=" /etc/ssl/ca.info"
51
+ export CA_CERT=" /usr/local/share/ca-certificates/rubyldap-ca.crt"
52
+ export CA_KEY=" /etc/ssl/private/rubyldap-ca.key"
54
53
55
54
# The self-signed fixture CA cert & key are generated by
56
55
# `script/generate-fiuxture-ca` and checked into version control.
@@ -59,7 +58,9 @@ export CA_INFO="/etc/ssl/ca.info"
59
58
60
59
cp " ${SEED_PATH} /ca/cacert.pem" " ${CA_CERT} "
61
60
cp " ${SEED_PATH} /ca/cakey.pem" " ${CA_KEY} "
62
- cp " ${SEED_PATH} /ca/ca.info" " ${CA_INFO} "
61
+
62
+ # actually add the fake CA to the system store
63
+ update-ca-certificates
63
64
64
65
# Make a private key for the server:
65
66
certtool --generate-privkey \
You can’t perform that action at this time.
0 commit comments