On my local aegir 2.0~rc5.1 (updated from 1.10), I enabled encryption on a website. It created an SSL certificate and assigned the IP 127.0.0.1. Then I disabled encryption on the site. I even deleted the site. I still see a certificate using the IP 127.0.0.1 at "node/2/ssl" (Certificates installed on server X).
And because of that, I cannot activate SSL on another website because it says "Unable to allocate IP address for certificate, disabling SSL. Allocate more IP addresses to this server then try to enable SSL again."
I've found a similar question on http://community.aegirproject.org/discuss/how-delete-unused-ssl-certificate
Comments
Comment #1
anarcat CreditAttribution: anarcat commentedSounds like a bug - the IP should be freed if no site is using the SSL certificate anymore, both in the frontend and backend.
Comment #2
anarcat CreditAttribution: anarcat commentedI have tried to reproduce this on the current git 2.x branch, and I couldn't. I did the following:
So I am not sure how to reproduce this.
Comment #3
anarcat CreditAttribution: anarcat commentedSorry, I was confused: rc5 *is* affected by this, a fix was committed in commit 9121600 which is not part of RC5, which is why I can't reproduce on the current 2.x branch.
So yay, fixed. :)