Change location of localCA on macOS
This commit is contained in:
parent
ce262d665c
commit
50d123f2f0
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue