Netduino home hardware projects downloads community

Jump to content


Photo

HTTPS - SSL


  • Please log in to reply
2 replies to this topic

#1 teknix1

teknix1

    Member

  • Members
  • PipPip
  • 19 posts

Posted 13 March 2013 - 11:27 PM

Hi,

 

I have been tinkering with the HttpServer sample from the 4.2 .Net Micro Framework, it is a great sample and supports http and https. Everything works fine in the sample, but when I try it on my netduino plus 2, the https side is returning a exception when I try to hit the address in my browser:

 

An unhandled exception of type 'System.NotSupportedException' occurred in System.Net.Security.dll

 

As far as I can tell that's happening inside the Getcontext() call.

 

Sounds to me like this hasn't been implemented in one of the libraries. Any ideas? Should this work?

 

Thanks in advance.

Nic



#2 Cuno

Cuno

    Advanced Member

  • Members
  • PipPipPip
  • 144 posts
  • LocationZrich / Switzerland

Posted 14 March 2013 - 01:19 PM

Hi Nic

 

The Open SSL stack that is commonly used for NETMF is about an order of magnitude too large for the Netduino's microcontroller, both in terms of RAM and Flash.

 

There exist a couple of smaller, dual licensed embedded SSL stacks. Difficult to say how good they are though, and integration into NETMF would be far from trivial.

 

Best regards

 

Cuno



#3 teknix1

teknix1

    Member

  • Members
  • PipPip
  • 19 posts

Posted 14 March 2013 - 04:23 PM

Well I guess this idea is dead then. Thanks for replying! Much appreciated. Nic




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.