0
Martin Bradley

I've been trying to follow:

Ameba Arduino: [RTL8195] Use Amazon AWS IoT Shadow Service

I get the following error.

This certificate has no flags
ERROR: ssl_handshake ret(-0x7780)
failed, rc=-2 try again in 5 seconds

I've seen this question asked before but haven't found an answer. Since the AWS IOT interface has changed there may be a problem with how I setup the keys.

Does anybody have a way to resolve this error?

=========================================================

ROM Version: 0.3

Build ToolChain Version: gcc version 4.8.3 (Realtek ASDK-4.8.3p1 Build 2003)

=========================================================
Check boot type form eFuse
SPI Initial
Image1 length: 0x3a88, Image Addr: 0x10000bc8
Image1 Validate OK, Going jump to Image1
BOOT from Flash:YES
SPI calibration
Find the avaiable window
Baud:3; auto_length:0; Delay start:0; Delay end:63
[SPIF Err]SpicNVMCalStore: The flash memory(@0x9080 = 0x0) is not able to be wri===== Enter Image 1 ====
SPI calibration
Find the avaiable window
Baud:2; auto_length:21; Delay start:0; Delay end:63
[SPIF Err]SpicNVMCalStore: The flash memory(@0x90b0 = 0x0) is not able to be write, Erase it first!!
SDR Controller Init
Test 0: No match addr 0xc9d38 => 0xf != 0xc
Test 0: No match addr 0x1f7c10 => 0x5 != 0xa
OTA addr 0x0 INVALID

load NEW fw 0
Flash Image2:Addr 0xb000, Len 200884, Load to SRAM 0x10006000
Image3 length: 0x27600, Image3 Addr: 0x30000000
Img2 Sign: RTKWin, InfaStart @ 0x10006049
===== Enter Image 2 ====
Attempting to connect to SSID: lost
interface 0 is initialized
interface 1 is initialized

SPI calibrationFI ...
Find the avaiable window
Baud:3; auto_length:0; Delay start:0; Delay end:63
[SPIF Err]SpicNVMCalStore: The flash memory(@0x9080 = 0x0) is not able to be write, Erase it first!!

WIFI initialized

RTL8195A[Driver]: set ssid [lost]

RTL8195A[Driver]: start auth to 58:8b:f3:dd:bf:ee

RTL8195A[Driver]: auth success, start assoc

RTL8195A[Driver]: association success(res=4)

RTL8195A[Driver]: set pairwise key to hw: alg:4(WEP40-1 WEP104-5 TKIP-2 AES-4)

RTL8195A[Driver]: set group key to hw: alg:2(WEP40-1 WEP104-5 TKIP-2 AES-4) keyid:2

Interface 0 IP address : 192.168.0.22Attempting MQTT connection...
Verify requested for (Depth 2):
ceThis certificate has no flags

Verify requested for (Depth 1):
ceThis certificate has no flags

Verify requested for (Depth 0):
ceThis certificate has no flags
ERROR: ssl_handshake ret(-0x7780)
failed, rc=-2 try again in 5 seconds
Attempting MQTT connection...
Verify requested for (Depth 2):
ceThis certificate has no flags

Martin Bradley 編輯了提問
提問 已經關閉,不能再接收新的回答