ssl problem in api