Page 1 of 1

https/ssl (windows) & certificate

Posted: Sunday 13 January 2019 12:19
by geertvercamer
Hi,

I see lots of questions but very few usefull answers.
The more I read the more questions arise. Not in the least because I don't want to use the pi anymore. I bought an 'official' version, with the correct power supply and all that, but after a few crashes and network stopped working I give up. I'm also a Linux noob and there are a zillion how-to's, lots of them outdated or contradicting the next.

I have it running on W10 now except for the https and ssl.
I read one can create a self signed certificate for one's own domain.
Suppose I have domain xyz.noip.com and make a certificate for it, all up and running. That means that every request to a device goes out of LAN and then back, right? I'm not sure I want that. Is there a way to keep the traffic local when at home?
Do you guys run some local domain name for that?

Anyone has a step-by-step tutorial?
Thanks a million!

Re: https/ssl (windows) & certificate

Posted: Sunday 13 January 2019 21:45
by niki_lauda

Re: https/ssl (windows) & certificate

Posted: Monday 14 January 2019 22:29
by geertvercamer
thanks Niki_lauda


But how to proceed?
I made a certificate with openssl and copied the server.pem to the domoticz folder.
THen I run domoticz -www 8090 -sslwww 444 -nobrowser -sslcert "C:\Program Files (x86)\Domoticz\server.pem"

Still not working.
What's missing?

Re: https/ssl (windows) & certificate

Posted: Sunday 20 January 2019 18:28
by niki_lauda
geertvercamer wrote: Monday 14 January 2019 22:29 thanks Niki_lauda


But how to proceed?
I made a certificate with openssl and copied the server.pem to the domoticz folder.
THen I run domoticz -www 8090 -sslwww 444 -nobrowser -sslcert "C:\Program Files (x86)\Domoticz\server.pem"

Still not working.
What's missing?
443??? ipv 444

Re: https/ssl (windows) & certificate

Posted: Monday 21 January 2019 17:43
by geertvercamer
well, no, I want to run it on a non standard port as 443 is already in use.

the port isn't coded in the certificate, is it?