SSL enabled but httpd.conf not rewritten

S2S-Robert

Verified User
Joined
Jun 24, 2003
Messages
397
Location
The Netherlands
I created a user (reseller actually) but I mistakenly forgot to grant him SSL. Now I granted SSL for him and his users and tried to access his https after uploading a file.

This doesn't seem to work and I checked custom httpd and I saw the SSL lines were missing. There is no vhost listening on that port for that domain, hence I get my default vhost page for that IP.

Now I tried 'echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue' but that didn't seem to work, I checked 'ls -al /usr/local/directadmin/data/templates/custom' but there was no file there.

Any thoughts?
 
I think I found it. Although I changed the SSL for the user, somehow /usr/local/directadmin/data/users/<user>/domains/<domain>.com.conf still had the old config in it, so I could rewrite whatever I like, but it kept giving the SSL=OFF. I manually changed that to ON and it rewrote like it should, after restarting apache it worked like a charm.

I may however have stumbled accross a bug, I could replicate the problem using a normal user account with first SSL=OFF and afterwards granting him SSL access. That does not alter the domain.conf file and won't let the httpd.conf rewrite properly.
 
What version(s) of directadmin and Operating System(s) can your reproduce this on?
What are the steps you take to enable ssl for that account?
 
Hello,

Go to User Level -> Domain Administration -> domain.com -> and turn on SSL.


It's not as much of a bug as a confusing interface design ;)
We've addressed this in 1.24.0+ by adding a link to that page from the SSL certificate page. It should let you know that it's turned off.

Versions system item:
http://www.directadmin.com/features.php?id=494

Granting SSL access to a User does only that.. allows him the ability to turn it on himself. The main reason being is most hosts allow SSL, but very few users use it, so this way it's on demand.. allow far fewer unrequired virtualhosts making apache load and run faster.

John
 
Back
Top