From 10de21ca91953c7d942aa5e99e47f9689c825e95 Mon Sep 17 00:00:00 2001 From: Christopher Gallo Date: Fri, 9 May 2025 15:09:43 -0500 Subject: [PATCH] Update README-internal.md --- README-internal.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README-internal.md b/README-internal.md index df372ded0..5b25abda0 100644 --- a/README-internal.md +++ b/README-internal.md @@ -11,6 +11,12 @@ On Mac, after installing the softlayer.local certificate, the following worked f security export -t certs -f pemseq -k /System/Library/Keychains/SystemRootCertificates.keychain -o bundleCA.pem sudo cp bundleCA.pem /etc/ssl/certs/bundleCA.pem ``` +Alternatively +```bash +API_HOST= +echo quit | openssl s_client -showcerts -servername "${API_HOST}" -connect "${API_HOST}":443 > cacert.pem +``` + Then in the `~/.softlayer` config, set `verify = /etc/ssl/certs/bundleCA.pem` and that should work. You may also need to set `REQUESTS_CA_BUNDLE` -> `export REQUESTS_CA_BUNDLE=/etc/ssl/certs/bundleCA.pem` to force python to load your CA bundle