Skip to content

Commit 10de21c

Browse files
Update README-internal.md
1 parent b3771b4 commit 10de21c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README-internal.md

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ On Mac, after installing the softlayer.local certificate, the following worked f
1111
security export -t certs -f pemseq -k /System/Library/Keychains/SystemRootCertificates.keychain -o bundleCA.pem
1212
sudo cp bundleCA.pem /etc/ssl/certs/bundleCA.pem
1313
```
14+
Alternatively
15+
```bash
16+
API_HOST=<internal api endpoint>
17+
echo quit | openssl s_client -showcerts -servername "${API_HOST}" -connect "${API_HOST}":443 > cacert.pem
18+
```
19+
1420
Then in the `~/.softlayer` config, set `verify = /etc/ssl/certs/bundleCA.pem` and that should work.
1521
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
1622

0 commit comments

Comments
 (0)