How to connect a certified SSL server with WizFi210

Source: Internet
Author: User
Tags ssl connection

Network data transmission, need to ensure the integrity of data, confidentiality, and the ability to authenticate the sender of the data. The advent of the SSL (Secure Socket Layer) protocol provides a guarantee for data encryption and other issues. So in the use of wiznet network products, how to connect with a certified SSL server to achieve data encryption and transmission? This article provides answers for you.

Typically, connect <most SSL server>, you do not need <client certificate> (client Authentication), and <a few SSL server> request <a Client Certificate>.

For example, to connect <apple push Server>, you need Apple to authorize you <a Client certificate>.

Take a look at this example of a certified SSL connection using WIZFI210.

Step 1) Add the authentication file

At+tcertdel=rootca
At+tcertdel=usercert
At+tcertdel=userkey
at+tcertadd=rootca,0,1273,0
[OK]
Ok
at+tcertadd=usercert,0,1413,0
[OK]
Ok
at+tcertadd=userkey,0,1191,0
[OK]
Ok

Step 2) AP Connection and setup time

At+wd
[OK]
At+ndhcp=1
[OK]
at+wwpa=12345678
[OK]
At+wa=wizfidemoap
IP SubNet Gateway
192.168.3.101:255.255.255.0:192.168.3.1
[OK]
At+settime=04/09/2013,13:11:11
[OK]

Step 3) SSL connection

At+ncloseall
[OK]
at+nctcp=17.172.xxx.xx,2195
[CONNECT 0]

[OK]
At+sslopen=0,rootca,usercert,userkey
[OK]

For <at+tcertdel>,<at+tcertadd and <at+sslopen>, refer to WizFi210 programming instructions.

For certification file types and conversions, please refer to the following website.

http://www.openssl.org/

by Steve

How to connect a certified SSL server with WizFi210

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.