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?

CommentFileSizeAuthor
img2.png17.28 KBjm.federico
img1.png12.04 KBjm.federico
im3.png9.66 KBjm.federico

Comments

L-four’s picture

Project: Provision » Hostmaster (Aegir)
Priority: Normal » Major

I figured out that this is actually an issue with hostmaster, this commit causes the issue.

steven jones’s picture

Assigned: Unassigned » steven jones

Sad times, I'm sure I made that change to fix a different bug.

steven jones’s picture

Title: SSL certificates no being created » SSL certificates not being created
steven jones’s picture

Assigned: steven jones » Unassigned
Status: Active » Fixed

Huge apologies for this, reverted the above commit it commit:1e4b8d8c2227aa347c5280ccb91eb437a3a19295

and then implemented what I was trying to do correctly in commit:f90a37af88abaa2b57492e61bd5b4a8487525176

jm.federico’s picture

Thanks for that, and no worries!

Cheers

fmb’s picture

I 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.

brentaar’s picture

The 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.

omega8cc’s picture

Status: Fixed » Patch (to be ported)

This patch is missing in 6.x-2.x

hejazee’s picture

steven jones’s picture

Status: Patch (to be ported) » Fixed

Committed to 6.x-2.x

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit fda27a5 on 6.x-2.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x by Steven Jones:
    Issue #1493286 by jm.federico: Fixed SSL certificates not being created...

  • Commit fda27a5 on 6.x-2.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-588728-views-integration, dev-1403208-new_roles, dev-helmo-3.x by Steven Jones:
    Issue #1493286 by jm.federico: Fixed SSL certificates not being created...