Creating an SSL connection


I am attempting to download a dataset for some analyses study. When I start the stream I get an error “”{“errors”:[{“message”:“SSL is required”,“code”:92}]}". I realise I have to set up a SSL certificate. But as a newbe, the documentation is of no help. Can someone explain in simple terms what AND how I set this up. Many thanks.


You don’t need to use a client certificate to connect; you just need to make sure that you’re hitting and not


Isaach, many thanks for quick response. I’m trying to use a python script that gets the Tweets and does a bit of sorting etc. The part of the code relating to the Twitter url is:

def oauth_get_tweet(tid, http_method="GET", post_body='',
    url = '' + tid
    consumer = oauth.Consumer(key=CONSUMER_KEY, secret=CONSUMER_SECRET)
    token = oauth.Token(key=ACCESS_KEY, secret=ACCESS_SECRET)
    client = oauth.Client(consumer, token)
    resp, content = client.request(

Does this make sense?

Appreciating your assistance.


Sure, it makes sense. What the error is telling you is to use https and not http in your URL.


I did change the the url = ‘’ TO https://*etc and I got the same error again, so I thought there maybe something else I missed. I re-ran the script this morning with the suggested change and I’m now receiving error free tweets. Thank you for your help.