HTTPS'yi Güvenli Kullanın
TLS ile şifrelenmiş istekler gönderin.
HTTPS'yi Güvenli Kullanın, CoddyKit'te ücretsiz bir Arduino & IoT Academy dersidir. Bu, 4 dersinin 4. dersidir. Aşağıdan dersin tamamını ücretsiz okuyabilir, sonra tarayıcıda yerleşik kod editörü ve 7/24 yapay zeka koçu ile uygulamalı olarak pratik yapabilirsin. Bu, Arduino & IoT Academy öğrenme yolunun bir parçasıdır ve ilerlemeniz web ve CoddyKit uygulaması arasında senkronize olur. Arduino & IoT Academy kursu toplamda 4 dersten oluşur.
Bu dersin bazı bölümleri henüz çevrilmemiş olup İngilizce olarak gösterilmektedir.
Plain HTTP Is Open
Regular HTTP sends everything in the clear. Anyone on the path can read your data, including any tokens or passwords. 🔓
HTTPS Adds Encryption
HTTPS wraps your request in TLS encryption. Snoopers see only scrambled bytes, not your readings or credentials.
It Also Proves Identity
HTTPS does more than hide data. It checks the server is the real one using a certificate, so you are not fooled by an impostor.
Use a Secure Client
On ESP32 you swap the plain client for a WiFiClientSecure. This is the object that speaks TLS for you.
#include <WiFiClientSecure.h>
WiFiClientSecure client;Point to an HTTPS URL
Pass the secure client and an https URL to begin(). The s in https is what triggers the encrypted path.
http.begin(client, "https://api.example.com/data");Trust the Right Server
To verify identity, give the client the server's root certificate. The board uses it to confirm the connection is genuine.
client.setCACert(rootCA);Avoid setInsecure
Calling setInsecure() skips certificate checks. It is handy for a quick test but unsafe for any real, shipped device.
client.setInsecure(); // testing onlyKeep the Clock Correct
Certificate checks compare dates, so your device needs the right time. Sync it with NTP or validation may fail.
TLS Costs Resources
Encryption uses extra memory and CPU. Reuse a connection where you can instead of opening a fresh TLS handshake each time.
Never Hardcode Secrets
HTTPS protects data in transit, not secrets baked into your code. Keep API keys out of plain source and out of public repos.
Default to Secure
For anything leaving your home network, prefer HTTPS. Treat plain HTTP as fine only for quick local experiments.
Quick Check
What does HTTPS give you that plain HTTP does not?
Recap
You switched to a WiFiClientSecure, used https URLs, verified the server with a root certificate, kept the clock right, and guarded your secrets. 🎉
Sıkça Sorulan Sorular
“HTTPS'yi Güvenli Kullanın” dersi ücretsiz mi?
Evet — “HTTPS'yi Güvenli Kullanın” dersin tüm metni burada web'de ücretsiz olarak okunabilir. Etkileşimli olarak pratik yapmak (yerleşik kod editörü ve 7/24 yapay zeka koçu) ve Arduino & IoT Academy kursunun geri kalanını açmak için CoddyKit PRO'ya yükselt. Arduino & IoT Academy kursu toplamda 4 dersten oluşur.
“HTTPS'yi Güvenli Kullanın” dersinde ne öğreneceğim?
TLS ile şifrelenmiş istekler gönderin. Arduino & IoT Academy ile uygulamalı kodu tarayıcıda doğrudan çalıştırarak pratik yaparsın ve 7/24 yapay zeka koçu dersi çalışırken sorularını yanıtlar.
Arduino & IoT Academy öğrenmeye başlamak için deneyim gerekli mi?
Önceden deneyim gerekmez. CoddyKit'te Arduino & IoT Academy, başlangıçtan ileri seviyeye kadar yapılandırıldığı için buradan başlayabilir veya başından başlayıp kendi hızında ilerleme yapabilirsin. Bu, 4 dersinin 4. dersidir.
“HTTPS'yi Güvenli Kullanın” dersi ne kadar sürer?
Çoğu CoddyKit dersi yaklaşık 5–10 dakika sürer. Her biri kısa ve etkileşimli olduğu için sabit ilerleme yaparsın ve web ile uygulama arasında tam olarak bıraktığın yerden devam edebilirsin.
Bu Arduino & IoT Academy dersinde kod yazıp çalıştırabilir miyim?
Evet. Her Arduino & IoT Academy dersi yerleşik bir kod editörü içerir, bu sayede tarayıcıda gerçek kod yazıp çalıştırabilir ve anlık yapay zeka geri bildirimi alırsın — yerel kurulum gerekli değildir.
Bu kursun tüm dersleri
- Bir API'den GET Verisi Alın
- Sensör Ölçümlerini POST ile Gönderin
- JSON Yanıtlarını Ayrıştırın
- HTTPS'yi Güvenli Kullanın