fix: enable DTLS peer verification against Samsung OCF Root CA

Bundle certs/ocf_root_ca.pem as samsung_appliance/ocf_root_ca.pem and
switch from SSL.VERIFY_NONE to SSL.VERIFY_PEER. The appliance's server
certificate must now chain to the Samsung Electronics OCF Root CA,
closing the ARP-spoof / MITM attack surface on the local network.

.gitignore: carve out explicit exception for the bundled public CA cert.
This commit is contained in:
Marc Billow committed 2026-06-30 16:34:10 -05:00
1 parent ceab7585d9
commit d5dc92e673
4 files changed
+28 -14

No files matched your search

+3
View File
@@ -9,6 +9,9 @@ certs/
*.p12
*.pfx
*.key
# Exception: bundled Samsung OCF Root CA (public cert, no key material)
!samsung_appliance/ocf_root_ca.pem
token.txt
# Python artifacts