Stellarflame Posted March 11, 2018 Share Posted March 11, 2018 Hi, I’ve hit a problem with using my SSL certificates that I have deployed with my 6.4.1 UnRaid servers. I have a wildcard certificate for my network which loads into UnRaid just fine (let’s encrypt doesn’t play well with several devices on my network so a wildcard was the quick and easy way to deploy to the set of devices I have running). If I directly access the server from the https hostname directly everything works correctly. However, when I attempt to access my servers using the http to https redirection, it redirects to the wildcard name in the certificate rather than the FQDN of the server. Obviously * is not the hostname for any of my servers. I suspect the redirect code is pulling the CN from my certificate as the redirect field. I can’t find any place to edit the config to manually set the redirect FQDN. Is it possible to set this somewhere? Thanks. Link to comment
Gadroc Posted March 25, 2018 Share Posted March 25, 2018 I'm encountering the same problem. Have you found a work around or fix yet? Link to comment
renambot Posted May 2, 2018 Share Posted May 2, 2018 I ended up editing the startup script: /etc/rc.d/rc.nginx and setting HOSTSSL to my FQDN instead of the computed value from the SSL certificate: commented out line 287 and replaced by: HOSTSSL="blabla.example.com" Works now. Luc Link to comment
DieFalse Posted May 4, 2018 Share Posted May 4, 2018 I always wondered why when booting the local gui it loaded an incorrect ip:port combo upon launching firefox... this explains it. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.