Skip to content

Instantly share code, notes, and snippets.

View velzend's full-sized avatar
🥚
Let me eggsecute your code...

Dennis van Velzen velzend

🥚
Let me eggsecute your code...
View GitHub Profile
@velzend
velzend / reolinkRotateCertificate.py
Last active October 27, 2024 13:04
Reolink doorbell refresh certificates using Lego (ACME) and the API
#!/usr/bin/env python3
"""
I wanted to replace the self-signed certificate with one signed by Let's Encrypt, and
did not want to perform this action manually.
I asked Reolink technical support, but they answered there is no API to manage certificates.
So I did some research and found the Reolink doorbell camera and probably other models
do support to upload your own certificates.
Verifying that "dennisvanvelzen.id" is my Blockstack ID. https://onename.com/dennisvanvelzen