FEZ raptor HTTPS / SSL issue

Hi guys.

I’m struggling to get HTTPS to work on the FEZ raptor. I have it working fine on the old FEZ spider board, but th exact same code on the raptor fails. both are using the latest firmware (SDK 2015, net MF 4.3 QFE2). both use the ENC28 ethernet module.
I have updated the SSL seed in both modules using MFdeploy

I have posted a simplified code snippet below. if somebody could try it and let me know if it succeeds on their device, I would really appreciate that.

 if (Initialise_Ethernet_FEZRaptor_port1())
           // if (Initialise_Ethernet_FEZspider_port6())  // uncomment to use FEZ spider 

           {
               try
                {
                    makeGenericHTTPRequest(); // this succeeds on both devices
                    getLatestTime();
                    makeHTTPSRequest(); // this hangs infinitely on the raptor and never ever returns.
                }
                catch (Exception ex)
               {
                   Debug.Print(ex.Message);
               }
            }
                
        }

        private static void makeHTTPSRequest()
        {
            string url = "https://www.ghielectronics.com";
            using (var req = System.Net.HttpWebRequest.Create(url))
            {
                using (var res = req.GetResponse())
                {
                    Debug.Print("HTTP Response length: "
                      + res.ContentLength.ToString());
                }
            }
        }

        private static  void getLatestTime()
        {
            TimeServiceSettings settings = new TimeServiceSettings();
            settings.ForceSyncAtWakeUp = true;
            settings.RefreshTime = 1800;    // in seconds.

            IPAddress[] address = Dns.GetHostEntry("pool.ntp.org").AddressList;
            if (address != null && address.Length > 0)
        settings.PrimaryServer = address[0].GetAddressBytes();

            address = Dns.GetHostEntry("time-a.nist.gov").AddressList;
            if (address != null && address.Length > 0)
        settings.AlternateServer = address[0].GetAddressBytes();

            TimeService.Settings = settings;

            // Add the time zone offset to the retrieved UTC Time (in this example, it assumes that
            // time zone is GMT+1).
            TimeService.SetTimeZoneOffset(60);

            TimeService.Start();

        }

        static void makeGenericHTTPRequest()
        {
            try
            {
                string url = "http://www.microchip.com/";
                using (var req = System.Net.HttpWebRequest.Create(url))
                {
                    using (var res = req.GetResponse())
                    {
                        Debug.Print("HTTP Response length: "
                          + res.ContentLength.ToString());
                    }
                }
            }
            catch (Exception ex)
            {
                Debug.Print(ex.Message);
            }
        }


        private static bool Initialise_Ethernet_FEZRaptor_port1()
        {
            try
            {
                EthernetENC28J60 ethernet = new EthernetENC28J60(GHI.Pins.FEZRaptor.Socket1.SpiModule, GHI.Pins.FEZRaptor.Socket1.Pin6, GHI.Pins.FEZRaptor.Socket1.Pin3, GHI.Pins.FEZRaptor.Socket1.Pin4, 1000);
                ethernet.EnableStaticIP("192.168.137.100", "255.255.255.0", "192.168.137.1");
                ethernet.EnableDynamicDns();

                ethernet.Open();

                while (ethernet.IPAddress == "0.0.0.0")
                {
                    // wait for and IP address
                    Thread.Sleep(500);
                }

                return true;
            }
            catch (Exception e)
            {
                return false;
            }
        }

        private static bool Initialise_Ethernet_FEZspider_port6()
        {
            try
            {
                EthernetENC28J60 ethernet = new EthernetENC28J60(GHI.Pins.FEZSpider.Socket6.SpiModule, GHI.Pins.FEZSpider.Socket6.Pin6, GHI.Pins.FEZSpider.Socket6.Pin3, GHI.Pins.FEZSpider.Socket6.Pin4, 1000);
                ethernet.EnableStaticIP("192.168.137.100", "255.255.255.0", "192.168.137.1");
                ethernet.EnableDynamicDns();

                ethernet.Open();

                while (ethernet.IPAddress == "0.0.0.0")
                {
                    // wait for and IP address
                    Thread.Sleep(500);
                }

                return true;
            }
            catch (Exception e)
            {
                return false;
            }
        }

@ ryanc - Can you try updating to the latest pre-release? We fixed a few bugs with SSL in it.

Thanks - it’s working again in the pre-release version.