You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
418 B
10 lines
418 B
if ! [ -x "$(command -v mkcert)" ]; then |
|
echo 'Error: mkcert is not installed. Install mkcert first and then re-run this script.' |
|
echo 'e.g. brew install mkcert' |
|
exit 1 |
|
fi |
|
|
|
mkcert -install |
|
mkdir -p ./utils/openldap/certs |
|
cp "$(mkcert -CAROOT)/rootCA.pem" ./utils/openldap/certs/rootCA.pem |
|
mkcert -key-file ./utils/openldap/certs/openldap-key.pem -cert-file ./utils/openldap/certs/openldap.pem localhost openldap
|
|
|