SNI issues

boingboing

New member
Joined
May 20, 2014
Messages
1
Hi all,

I am trying to set up multiple SSL certificates on a shared IP on directadmin.

I am the admin and the only user on this server.

I have put in enable_sni_ssl=1 in directadmin.config (in fact, I do not have the default enable_sni_ssl=0 in my config file) and restarted apache.

I immediately ran into a problem with setting up multiple SSLs.

When I set up for domain A, then setup for domain B, domain B's certificate overwrites domain A's certificate. After that setting up domain A's certificate then overwrites domain B's. In other words only 1 certificate is valid at any time.

I then created a new user for domain B, and setup domain B's certificate. This worked, and both domain A (admin user) and domain B (user level user) have the correct certificates.

Now, is there a way to setup both domain A and B's SSL certs (and therefore domains C, D, E, ...) on the shared IP address as the admin user? I think I might be missing something simple here, just couldn't find out how to do it.

Thanks for reading the wall of text, and I appreciate any help I can get.
 
Ususally is not suggested to use admin account at all for domains.

Sayd that, admin account set the general HTTPD server certificate, so the one you set is for entire apache, not for the domain.

Main suggestion so, stay on "dont use admin account for add domains", or you can try add all cert in the same textbox on admin account, but it may cause issue aswell (never tryed that honestly).

PS: the missing value in directadmin.conf make default value be applied, so the fact you had not enable_sni_ssl=0 in your directadmin.conf is equal to have it, it is 0 by default (so, if present and = 0 or even if not present at all)

Regards
 
Back
Top