Python 3

SSL Certificates in Python 3.6

Note to self: After installing Python 3.6 on your Mac, run /Applications/Python 3.6/Install Certificates.command so your SLL connections don’t fail.

The error you might get, when this is the case, is:

[crayon-64cc43bdc79c8057828516/]

Python 3.6 no longer links to the macOS-supplied SSL libraries and now includes its own copy of OpenSSL, but it doesn’t automatically install the root certificates needed to validate connections. It seems the Python 3.6 installer warns you about this during the install, but it’s easy to miss. It’s also in the README, and there’s a behavior bug for Python suggesting that it get installed automatically. Thanks to this Stack Overflow post for the help.

Install django CMS on WebFaction

I’m testing out django CMS for a small personal site, bobtiki.me, and installing it on my WebFaction hosted server. I’m writing down the steps, so you don’t have to! (And by “you,” I mean “future Mark who has forgotten these steps.”)

I’ve had a great experience with WebFaction — they’re both inexpensive and reliable. If you’d like to give them a try, please use this affiliate link to sign up for a free trial, and try installing for yourself.