Skip to content

Commit 963f61e

Browse files
committed
Removes check for CA_KEY in _trust_ca
1 parent 0c356d4 commit 963f61e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

self-signed-tls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ _trust_linux() {
400400
#######################################
401401
_trust_ca() {
402402
# Check if CA exists and script is instructed to trust
403-
if [ -f "${CA_KEY}" ] && [ -f "${CA}" ] && [ -n "${TRUST}" ]; then
403+
if [ -f "${CA}" ] && [ -n "${TRUST}" ]; then
404404
if [[ "${OSTYPE}" == "darwin"* ]]; then
405405
# MacOS (Darwin)
406406
sudo security add-trusted-cert -d -r trustRoot \

0 commit comments

Comments
 (0)