Fixed with importing misconfigured SSL certificate of endpoint.