SSL cert path only being replaced once

Craig Menning's Avatar

Craig Menning

12 Dec, 2014 06:09 PM

In the Apache Virtual Hosts configuration, the key and cert paths are automatically replaced with the proper path to the certificate chosen for that vhost. This replacement only seems to be done once per template, however. This precludes defining multiple vhosts in one template. An example is creating one vhost to redirect to and one vhost to serve It would be nice to put both these in one template so changes to the SSL certificate do not have to be updated in multiple spots.

  1. Support Staff 1 Posted by Marat Komarov on 12 Dec, 2014 06:26 PM

    Marat Komarov's Avatar

    Apache role supports only one virtual host per template. It's by design.
    Changing this is difficult, cause it's not just change replace-one to replace-all in template processing.


  2. Craig Menning closed this discussion on 19 Dec, 2014 05:11 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

02 Jul, 2019 07:54 PM
07 Jun, 2019 07:12 PM
02 May, 2019 04:04 PM
28 Mar, 2019 05:24 PM
22 Feb, 2019 08:11 PM