I'm create a security camera with a web page to connfigure a camera.
To do that, I'm used Flask and Python.
At begining, the web page use the http. After I used OpenSSL but the problem is the same, the browser don't recognize this certification.
Result, I'm looking for certbot and Let's Encrypt.
So, I'm used this commande : sudo certbot certonly --standalone
But he requests the domain name and when I write the ip and the port of the site web ( 192.168.1.51:8080 ), the result is :
An unexpected error occurred:
Error creating new order :: Cannot issue for "192.168.1.51": The ACME server can not issue a certificate for an IP address
Please see the logfiles in /var/log/letsencrypt for more details.
So how to certified this IP adresse ?
For information :
I'm use Linux (debian / rasbian ), on a raspberry pi 4 and flask to host the web page.
I log in SSH and it's possible for me to use root (sudo).
My "dommain" is 192.168.1.51:8080
The result of "certbot --version" is "certbot 0.31.0"
Thank you in advance for your answers !