Fixing Security Certificate Problems in OS X

Since installing OS X 10.9 Mavericks, I’ve been plagued by problems with security certificates. I couldn’t visit Twitter or LastPass using Safari or Chrome. And I couldn’t log in to Messages or FaceTime. But after a fair bit of research, I found a solution.