Microprocessor and Development Tools - Embedded Control - Communications - Connectivity
   
Low-Cost Dev Kits
Application Kits
RabbitCores
Latest Downloads
Single-Board Computers
Rabbit Support Forums
Training/Events



Support > Ask Larry > Apr 26th, 2007

Dear Larry,

I am interested in using the Secure Sockets Layer (SSL) to secure the web interface for my Rabbit application. How difficult is it to enable SSL for my programs?

Benjamin C.

Benjamin,

Using SSL on the Rabbit is extremely easy. We have worked hard to make using SSL as easy as possible - you only have to add a few lines of code. Of course, you will need the SSL software module, but like our other modules it is inexpensive and royalty-free!

To use SSL in your Rabbit application, you first need to create a digital certificate. SSL uses the digital certificate to authenticate the Rabbit's identity. Creating your certificate is easy with Rabbit's SSL certificate utility. After installing the SSL module, the certificate utility can be found in the DynamicC\Utilities\SSL_Utilities folder. Run "certificate.exe" from that folder and you will be guided through the certificate creation process by the wizard interface.

Once you have created a certificate, adding SSL support to your application is very easy. You will need to #ximport your certificate with the following line:

#ximport "certs\mycert.dcc" SSL_CERTIFICATE

You also need to add a couple macro definitions before the #use HTTP.LIB:

#define USE_HTTP_SSL
#define HTTP_SSL_SOCKETS 1

Finally, you need to reserve the HTTPS (HTTP over SSL) TCP port 443, and indicate which resources are accessible by using the SERVER_HTTPS macro when setting up your web server.

That's it! In less than 5 lines of code, your web interface is now secured with a high level of encryption that protects your data from hackers and eavesdroppers.

I hope I have answered your question, but if you need more information our SSL module comes with a thorough walkthrough and several sample programs to get you started.

- Larry

Larry Cicchinelli is Rabbit Semiconductor’s Technical Support Manager. He has 30 years of embedded experience, and is considered one of the foremost authorities on Rabbit products. Larry and his staff offer comprehensive technical support to Rabbit customers.

Submit your questions for Larry via email at AskLarry@rabbit.com

Read more Ask Larry Answers



   Site Map | Privacy Policy | Contact Us | Feedback Copyright © Rabbit All Rights Reserved    A Digi International® Brand  
View Cart | Contact Us
View Cart
Products Solutions Support Company Channel partners Careers Ordering Information