Change location of localCA on macOS

This commit is contained in:
Jonny Barnes 2018-06-23 20:23:05 +01:00
parent ce262d665c
commit 50d123f2f0

View file

@ -6,7 +6,7 @@
gencert () {
DOMAIN=$1
test -d /Users/jonny/Development/localCA && ROOT='/Users/jonny/Development/localCA'
test -d /Users/jonny/git/localCA && ROOT='/Users/jonny/git/localCA'
test -d /home/jonny/git/ca && ROOT='/home/jonny/git/ca'
test -d /usr/local/opt/openssl@1.1/bin && PATH='/usr/local/opt/openssl@1.1/bin':$PATH
test -f /usr/local/etc/openssl@1.1/openssl.cnf && SSLCNF='/usr/local/etc/openssl@1.1/openssl.cnf'
@ -26,4 +26,4 @@ gencert () {
cd $HOME
echo 'Certs generated for $DOMAIN'
}
}