New hostname and SSL certificates

gregg098

Well-Known Member
Apr 5, 2018
39
5
48
44
I recently modified my network setup and put a few things like my Proxmox host on new VLAN. The hostname is the same, but the internal domain is different (we can call it old.local to new.local). I was able to modify the network configuration, /etc/hosts, and the postfix settings. Everything works just fine, but the security certificate in Chrome shows that its coming from the old domain (xxx.old.local and not xxx.new.local).

I followed the guide HERE (Revert to default configuration) to delete the old certificates, force regenerate them, and then restarted the host, but it still shows the old domain. I deleted cache and everything else I could think of and can't find a single reference anywhere to the old domain name. Is there somewhere else I should be looking?

I really can't see any problems with the current setup, and its untrusted anyways since its all on my local network (no public access), so probably doesn't matter, but would be good to understand what's going on.

Thanks.
 
Found it a few minutes after I posted. Had to modify /etc/resolv.conf. It showed the old subnet and domain. Modified it, regenerated certificates again, and rebooted. Everything looks as it is supposed to now.