Skip to content

Instantly share code, notes, and snippets.

@velzend
velzend / reolinkRotateCertificate.py
Last active July 21, 2024 11:31
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.