Hi Guys
I've been using Aegir for almsot 6 months now and everything was working fine until a week ago when I created a new agier (new server).
I setup an Ubuntu 10.04 with nginx and installed using the manual install (just for fun). Aegir didn't work (nginx config files where using options not available in nginx 0.7.65 so I installed the latest nginx form the nginx repo and aegir installed correctly.
I then enabled SSL support for nginx, went to the aegir site enabled ssl support forit, set it to create a new certificate, but the certificate wasn't created (see img1 and img2).
In the DB I get 2 records (see img3)
I repeated the process on an Arch Linux Manuall install, up-to-date (nginx/1.0.14 && OpenSSL 1.0.0h) and same thing
What can I give you to debug this further?
| Comment | File | Size | Author |
|---|---|---|---|
| img2.png | 17.28 KB | jm.federico | |
| img1.png | 12.04 KB | jm.federico | |
| im3.png | 9.66 KB | jm.federico |
Comments
Comment #1
L-four commentedI figured out that this is actually an issue with hostmaster, this commit causes the issue.
Comment #2
steven jones commentedSad times, I'm sure I made that change to fix a different bug.
Comment #3
steven jones commentedComment #4
steven jones commentedHuge apologies for this, reverted the above commit it commit:1e4b8d8c2227aa347c5280ccb91eb437a3a19295
and then implemented what I was trying to do correctly in commit:f90a37af88abaa2b57492e61bd5b4a8487525176
Comment #5
jm.federico commentedThanks for that, and no worries!
Cheers
Comment #6
fmb commentedI manually applied the correction made by Steven Jones in commit f90a37af88abaa2b57492e61bd5b4a8487525176 to my Ægir 1.7 installation, and I confirm certificates are now created as expected.
Comment #7
brentaar commentedThe opposite problem was happening on my Ægir 1.7 installation. When a specific SSL cert was added to a site a new cert would be created and chosen as the sites cert. When editing a site that already had SSL cert, it would show that a blank ssl_key would be shown by Ægir; like the pictures attached to this issue.
I manually applied the diffs of
1e4b8d8c2227aa347c5280ccb91eb437a3a19295
and
f90a37af88abaa2b57492e61bd5b4a8487525176
which seemed to fix the SSL issues.
Now to delete the serveral extra SSL certs that were created.
Comment #8
omega8cc commentedThis patch is missing in 6.x-2.x
Comment #9
hejazee commentedThanks a lot.
It worked.
This patch is useful:
http://drupalcode.org/project/hostmaster.git/commit/f90a37af88abaa2b5749...
Comment #10
steven jones commentedCommitted to 6.x-2.x