added check ssl