The SSL connection could not be established, see inner exception. The remote certificate is invalid according to the validation procedure in restsharp code example
Example: restsharp restclient allow nocertificate
//bypass ssl validation check by using RestClient object
var restClient = new RestClient(baseUrl);
restClient.RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;