Problem connecting to ui after tls cert added

Daxcor

Active Member
Oct 31, 2021
60
5
48
59
I am running 9.2.26.

I setup acme cert for letsencrypt. I am able successfully able to provision the cert. when I go to log in using the fqdn, it takes forever to show the login page, then fails the login with known good credentials.

When the node was setup the the fqdn used was pve0.mgmt.lan. I have set up internal dns recursive resolver with the new fqdn of pve0.mgmt.domain.com. This is pointed to the ip of pve0 node.

When I try to access the node ui from the ip:port all works as expected, however when I try fqdn:port I get a huge delay for the login page to show and failed login.


Not sure what is going on. any thoughts would be greatly appreciated.

Brad
 
Hello, Pre-login delay like that is usually DNS, not the cert. Check from your client: time nslookup pve0.mgmt.domain.com and compare the IP with the one you use directly.
 
does the proxmox node, resolver have to be able to resolve the new fqdn?
Not strictly, the client just needs to resolve the name to the node's IP. To check, pin pve0.mgmt.domain.com to that IP in the client's hosts file: if the login is fast then, the delay is in name resolution. If it's still slow, I'd check that the nameservers in the node's /etc/resolv.conf answer quickly.