---
title: "SSL example with certificate"
url: "https://maker.wiznet.io/forum/10149"
markdown_url: "https://maker.wiznet.io/forum/10149/md"
type: "Forum topic"
category: "Wireless"
author: "ssekim"
created: "2014-04-17T04:56:03+09:00"
last_activity: "2017-05-04T08:32:27+09:00"
language: "en"
views: 581
replies: 0
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# SSL example with certificate

## Question

Asked by ssekim on 2014-04-17 in Wireless.

I like to show how to connect ssl server with certificate using WizFi210.

Generally, to connect , you don’t need , and demand .
As a example, to connect , you need  which Apple issued to you.

Anyway, here is a example about using WizFi210.

Step1) Add Certificate 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

Step2) AP Association and Set Time

[quote]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]
[/quote]

Step3) SSL Connect

[quote]AT+NCLOSEALL
[OK]
AT+NCTCP=17.172.xxx.xx,2195
[CONNECT 0]

[OK]
AT+SSLOPEN=0,rootca,usercert,userkey
[OK]
[/quote]

About &lt;AT+TCERTDEL>, &lt;AT+TCERTADD> and &lt;AT+SSLOPEN> refer to the WizFi210 Programmer’s Guide.

About certificate file type and conversion, refer to the below site.
<http://www.openssl.org/>

Regards, Steve

---

Source: https://maker.wiznet.io/forum/10149
