[From QnA]Adding Certificate file
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: [From QnA]Adding Certificate file
by ssekim ·
Here is Certificate and SSL example (17.172.xxx.65 is a Apple server.).
Apple SSL Server requires some certificate file.
Step1) Delete Certificate Files
[quote]AT+TCERTDEL=rootca
AT+TCERTDEL=usercert
AT+TCERTDEL=userkey
[/quote]If there is no cert-file, WizFi210 can reply some error.
So, you can ignore error response.
Step2) Add Certificate File
[quote]AT+TCERTADD=rootca,0,1273,0
[OK]
OK
AT+TCERTADD=usercert,0,1413,0
[OK]
OK
AT+TCERTADD=userkey,0,1191,0
[OK]
OK
[/quote]
If there is already the certificate file in WizFi210-flash, you should not issue above commands.
Step3) AP Association
[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]
Step4) SSL Connect
[quote]AT+NCLOSEALL
[OK]
AT+NCTCP=17.172.xxx.65,2195
[CONNECT 0]
[OK]
AT+SSLOPEN=0,rootca,usercert,userkey
[OK]
[/quote]