SSL certificate components are not renamed when website domain is changed

Discussion in 'Installation/Configuration' started by cbj4074, Jan 4, 2013.

  1. cbj4074

    cbj4074 Member

    I noticed that when I change the domain name that is associated with a given website (an excellent and very powerful feature of ISPConfig), using the drop-down menu in the interface, the certificate component file names in /var/www/ are not updated accordingly.

    This seems to be an undesirable behavior for many reasons, not least of which is that Apache will fail to start if SSL is enabled, the website's domain name is changed, and Apache is restarted. Presumably, Apache will expect to find the files at /var/www/*, when they may in fact exist at /var/www/*.

    One solution to this problem, provided that ISPConfig does not already handle this scenario gracefully (I have not tested it with the SSL checkbox enabled), is to change the SSL certificate component file names such that they reflect the website ID instead of the domain name. This would enable the user to change the domain name without causing problems for Apache or the SSL certificate (beyond the expected "domain name mismatch").

    Thanks for any thoughts on this.
  2. falko

    falko Super Moderator ISPConfig Developer

    I think this is already resolved in 3.0.5.

Share This Page