add ssl cert verify to api client