Myster-Tee / TinfoilWebServer

Install your packages from your own server
GNU General Public License v3.0
124 stars 26 forks source link

http to https conversion #34

Open jecoteco opened 1 month ago

jecoteco commented 1 month ago

First of all, I want to congratulate you for this wonderful server. The possibilities are vast. The issue I have today, is when I try to setup as https server. I have tried following the microsoft guidelines and to follow to json example on your site. I understand Kestral provides both http and https server with the condition that a default certificate is available. It would be nice to provide example setup in the json file for both self-signed and official signed certificates. Needless to say, it also suggests the need for the server to accept invalid certificates for self-signed. Also how to use different certificate extensions like pem, crt, or p7b. Note that I am already using the certificate to validate a website. I want to setup the server with same IP as said website but on different port to avoid conflictions. Http server works well, but I can't get the https to work.