I have a question about SSL (self signed certificate) in connection with a subdomain.
The following scenario:
there exists a Motobix camera, which is reachable via a fixed IP. (Example: 192.120.203.32) The goal is to achieve the display of the image in the browser via https.
Procedure:
On a separate web server, I have made DNS settings for a domain. I created an A-record for a subdomain that points to the IP of the camera. (Example: video.domain.com) For the camera itself, I created a self-signed certificate via the admin interface, whose "Common Name" contains the subdomain (video.domain.com), through which the camera should be accessed in the browser.
Unfortunately, however, the certificate is marked as invalid. Have I forgotten something important here or have I fundamentally misunderstood something?
Thank you very much for your competent answers.