Hi all,
I have been using the https capabilities of the new N3 over the last couple of months and they have been working really well.
Over the last week I had been playing around with an Azure gateway based on my initial proof of concept here.
I'm getting a generic exception(s) when I try to access https://myhomemonito...us.windows.net/
I initially though it might be due to the wildcard cert,
The cert subject is
CN = servicebus.windows.net
with SANs
// Baseline check with google Debug.Print("https://www.google.co.nz"); try { using (HttpWebRequest request = (HttpWebRequest)WebRequest.Create(@"https://www.google.co.nz")) { request.Method = "GET"; request.KeepAlive = false; request.Timeout = 5000; request.ReadWriteTimeout = 5000; using (var response = (HttpWebResponse)request.GetResponse()) { Debug.Print("HTTP Status:"+ response.StatusCode + " : " + response.StatusDescription); } } } catch (Exception ex) { Debug.Print(ex.Message); } /* DNS Name=*.wordpress.com DNS Name=wordpress.com */ Debug.Print("https://justanotherblog.wordpress.com/"); try { using (HttpWebRequest request = (HttpWebRequest)WebRequest.Create(@"https://justanotherblog.wordpress.com/")) { //request.Proxy = proxy; request.Method = "GET"; request.KeepAlive = false; request.Timeout = 5000; request.ReadWriteTimeout = 5000; using (var response = (HttpWebResponse)request.GetResponse()) { Debug.Print("HTTP Status:"+response.StatusCode + " : " + response.StatusDescription); } } } catch (Exception ex) { Debug.Print(ex.Message); } /* DNS Name=*.servicebus.windows.net DNS Name=servicebus.windows.net */ Debug.Print(@"https://myhomemonitor.servicebus.windows.net/"); try { using (HttpWebRequest request = (HttpWebRequest)WebRequest.Create(@"https://myhomemonitor.servicebus.windows.net/")) { //request.Proxy = proxy; request.Method = "GET"; request.KeepAlive = false; request.Timeout = 5000; request.ReadWriteTimeout = 5000; using (var response = (HttpWebResponse)request.GetResponse()) { Debug.Print("HTTP Status:"+response.StatusCode + " : "+response.StatusDescription); } } } catch (Exception ex) { Debug.Print(ex.Message); }