New Automatic SSL doesn't work for pointers

k1l0b1t

Verified User
Joined
May 10, 2020
Messages
490
Location
Belgium
Situation:
domain1.com has a pointer domain2.com
SSL gets created for both, but domain2.com shows SSL of domain1.com.

Checked the VHOST file, and there the vhost for domain2.com uses the certificate for domain1.com

Directadmin does pick up the certificate though, so it actualy exists and is valid.

Also: when deleting the pointer, the cerftificate file isn't deleted, just not shown anymore in the list on the SSL screen (directadmin can still use the certificate). Looks like directadmin caches it, but does not unload the certificate when it's deleted.
 
Last edited:
It’s a known issue fixed in pre-release.

Regarding removal of the certs: it’ll be checked, thanks!
 
Hello!

I've just checked the code and tested (using latest binaries), and when deleting a pointer, the matching cert data, eg:
Code:
/usr/local/directadmin/data/users/fred/domains/pointer.com.*
does get deleted along with it.
This code was added on April 15th, so should... be in the full 1.62.0 and up.

Let me know if the pointer.com.cert file is what you're referring to.. and if not, let me know.

So far, 1.62.3 has the following documented changes:

John
 
From what i tested yesterday, the cert file on disk did get deleted, but directadmin kept serving the cert on :2222, which should not be the case (unless it got cached by DA, and would get unloaded eventualy after while)
 
Back
Top