I have the following C# code that is attempting to make an https request to a specific url. If I change the URL to point to the QAS server, which is not https then all works fine. I have tried numerous combinations of settings, but nothing that I do seems to get this to work correctly. You can see several of the different combinations of things that I have done in the comments.
var request = (HttpWebRequest)WebRequest.Create(nextUrl);
request.AllowAutoRedirect = false;
request.UseDefaultCredentials = true;
request.KeepAlive = false;
//request.PreAuthenticate = true;
//request.Credentials = CredentialCache.DefaultNetworkCredentials;
//request.Credentials = new NetworkCredential("name", "pass", "domain");
ServicePointManager.ServerCertificateValidationCallback = AcceptAllCertifications;
HttpWebResponse response;
using (response = (HttpWebResponse)request.GetResponse())
{
//Do Something
}