npe in case of ssl is not provided