Python SSL Certificate Error

I have a small python script i’m developing that pulls data from a couple APIs and posts it to some Subreddits I manage. I’ve installed my own version of python and got it configured and working the way I want with the proper modules.

I’ve been getting an SSL mismatch error in my python output which I’ve included here:

People at github have told me that Dreamhost doesn’t have their SSL certificates configured right, if that is indeed the case what am I to do about it?

Any insight or help is appreciated.