@khoitd1997 Glad to see that ssl helped and the video helps as well. It looks like you still have an issue with the keys on your photon.
To fix it you can do the following (please note i have provided instructions for flashing keys if it has never been connected to the cloud, and if you have had it connected to the cloud previously. chose the one that best matches your situation). Also please note you need to have the dfu-util installed on your machine. if you do not have it already, you can go to [Particle Official] Windows 10 Full CLI and DFU Setup and start from step 3.
Flashing keys on a device that has been connected to the cloud before:
-
Place your photon into DFU mode
-
Download the server public key from https://s3.amazonaws.com/spark-website/cloud_public.der145
-
from command prompt run the following command
dfu-util -d 2b04:d006 -a 1 -s 2082 -D cloud_public.der
Flashing keys on a device that has not yet been connected to the cloud:
1.Using particle, first generate a new key:
particle keys new
2.Then put the device in DFU mode and flash this new key
dfu-util -d 2b04:d006 -a 1 -s 34 -D device.der
- Then reboot the device and it should connect to the cloud.
For future reference you can find how to fix this issue here: Photon setup flashing cyan with a "quick red burst" (now orange burst) [Solved]
Let me know if you still need help or if this solves your problem.