Skip to content

Commit

Permalink
potentially useless ssl certificate setting
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebman committed Dec 12, 2024
1 parent 6d23f5a commit 7bf4b75
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions custom/jake.bash
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ if [ -v WSL_WINDOWS_USER_HOME ]; then
export KUBECONFIG
fi

# (TODO: this probably doesn't always work. Didn't for gradle at least)
# Enable java to read the cacertificates from linux. Technically, there's an intermediate process (ca-certificates-java)
# that copies to here, but it's close enough to update-ca-certificates that you only need to know this if you're getting
# errors
JAVA_TOOL_OPTIONS+=" -Djavax.net.ssl.trustStore=/etc/ssl/certs/java"
export JAVA_TOOL_OPTIONS

# The python library `webbrowser` has some weird hiccups. Setting this environment variable
# allows the aws cli and my ~/bin/splunk tool to avoid experiencing an `tcgetpgrp failed: Not a tty` error
# (I no longer need to set AWS_BROWSER, as it defaults to BROWSER)
Expand Down

0 comments on commit 7bf4b75

Please sign in to comment.