<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">On the <a href="https://freedom.mydomain.eu/plinth/sys/config/">https://freedom.mydomain.eu/plinth/sys/config/</a> page, I did setup :<br></div><div>* hostname : freedom</div><div>* domain name : <a href="http://freedom.mydomain.eu">freedom.mydomain.eu</a></div><div> (bye the way, if found the explicative text "Domain name is the global name by which other devices on the Internet can reach your FreedomBox." clear and helpful, thank you!)<br></div><div dir="ltr"><br></div><div>The domain name seems to be used "as-is" when setting up a Let's Encrypt certificate, which is consistent with the explicative text, and worked for me.<br></div><div dir="ltr"><br></div><div>However, if I SSH into the box, I get <br></div><div dir="ltr">$ hostname<br>freedom<br>$ hostname --fqdn<br><a href="http://freedom.freedom.mydomain.eu">freedom.freedom.mydomain.eu</a><br></div><div><br></div><div>Here, it seems hostname and domain name have been concatenated, which is not what I wanted. It probably does not matter much, but it looks like a bug. What do you think ?<br></div></div><div dir="ltr"><br><div>If I edit /etc/hosts to "fix" it, by replacing the line <br>127.0.1.1       <a href="http://freedom.freedom.mydomain.eu">freedom.freedom.mydomain.eu</a> freedom</div><div>with</div><div><div>127.0.1.1       <a href="http://freedom.mydomain.eu">freedom.mydomain.eu</a> freedom<br></div><div><br></div><div>(and sudo systemctl restart apache2), then I'm locked out of the website :</div><div>* it seems to serves me the initial self-signed certificate instead of the letsencrypt one</div><div>* because HSTS is enabled, I cannot continue.</div><div><br></div><div>Reverting my /etc/hosts edit, I got my access access back. I'm not sure what is going on.</div><div><br></div><div>Byt the way, the HSTS option looks dangerous, is there a way to disable it (temporarily) from SSH?</div><div><br></div><div><br></div><div>PS : I'm using freedombox 19.1, from a testing image, on a lime2 board.<br></div></div></div></div></div></div></div></div>