I have an Ubuntu 18 LTS server, which is used for Subversion and while setting up Apache Subversion a couple of years ago an SSL certificate was generated and self-signed. Then Svn works OK after each client initially has set the server certificate as trusted as part of first login.
Recently I have added a video server function to this box and it works well to view videos stored here while on other locations via a web interface using https and user login. Both using Chrome and FireFox I have to add a trust for this server on first connection but after that it "just works".
Now I also have a Raspberry Pi running Kodi, which I want to use to view these videos with at my summer home through the TV.
So I have created the strm files pointing to the videos.
But it does not work and the reason is that the server's certificate is not trusted and Kodi seems not to have a way to set it to trusted in its user interface. (I tested on a non-https server without login and then the strm files work...)
So I would like to manually add my home server's self-signed certificate to the list of certs trusted by Raspbian, but I don't really know how...
Is there a procedure I can follow in order to accomplish this?
My server sits on my home LAN with port 443 forwarded to it on the router.
I also have dynamic DNS so the IP address will be connected to unique domain name.
What can I do on the Raspberry to add the trust I need?