일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- 펌웨어
- esp8266
- IOT Core
- 보안
- AWS
- 완속충전기
- 서버리스
- dynamodb
- 플라스크
- 에버온
- raspberry
- 급속충전기
- STM32
- 전기차
- 안드로이드
- 충전기
- lambda
- 전기차충전기
- 라즈베리파이
- homeassistant
- 디자인패턴
- YMODEM
- OCPP
- 홈어시스턴트
- Android
- everon
- thread
- 파이썬
- flask
- 전기차충전
- Today
- Total
Louie NRT Story
[SSL/TLS] ESP8266 HTTPS 연결 본문
작성일: 21년 8월 2일
Index
1. FingerPrint 인증 방법
2. SetInsecure 방식
1. FingerPrint 인증 방법
- 사이트 인증서의 지분을 추출하여 사용할 경우 유효성 검사를 할 필요가 없고 간단하지만 인증서가 만료되면 Fingerprint가 변경되기 때문에 SW를 다시 업데이트 해야함.
1) 접속하고자 하는 사이트의 인증서를 확인함
- 지문의 내용을 복사
2) ESP8266 예제 코드 수정
- BasicHhttpsClient 코드의 "finterprint"에 위에서 복사한 정보를 입력함
- 예제코드를 보면 fingerprint를 이용하여 인증한다고 함.
- 접속하고자 하는 사이트의 주소를 입력함.
3) 연결 확인함
- 받은 데이터를 확인함
- 실제 데이터와 비교
2. SetInsecure 방식
- 날씨를 가져오거나 온도를 가져오는 등 민감한 정보가 없는 경우에 사용함
- esp8266의 BasicHttpsClient 예제 코드에서 "setInsecure()" 코드를 활성화함
Referece:
https://maakbaas.com/esp8266-iot-framework/logs/https-requests/
HTTPS requests to any URL using the ESP8266 - Maakbaas
This post explains the reasoning and philosophy behind the ESP8266 IoT Framework. Since the framework is evolving over time, some of this post might be outdated. Find the latest on GitHub . Fetching or posting data to the internet is one of the core tasks
maakbaas.com
Simple ESP8266 HTTPS client without verification of certificate fingerprint
Powered by Pelican. Theme blueidea, inspired by the default theme.
buger.dread.cz
'전기차충전기' 카테고리의 다른 글
[SSL/TLS] 파이썬 Flask https 서버 만들기 (0) | 2021.08.02 |
---|---|
[everon] stm32f105 부트로더 - Todo (0) | 2021.08.02 |
[SSL/TLS] x509 인증서 (0) | 2021.08.02 |
[데이터분석] 전기차 충전기 사용자 충전 패턴 분석 (0) | 2021.08.01 |
[데이터분석] 전기차 충전기 시장 연구 분석 (0) | 2021.07.19 |