Apache directives and vhost.

Discussion in 'Installation/Configuration' started by karuott, Nov 6, 2013.

  1. karuott

    karuott New Member


    I have problem with vhost file. I need SSLCARevocationPath line to client ssl vhost.
    When i put that to apache directive it writes that line to http and https vhost and it gives error.
    Is there any good solution for that?
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    Do you need the same path for every SSL vhost or just for a single one?
    If for all you can have a look at the vhost template under /usr/local/ispconfig/server/conf/ (vhost.conf.master).
    Copy this file to the conf-custom directory and modify it according to your needs. In this case you would have to change this part (from line 45 on):
    <tmpl_if name='ssl_enabled'>
            SSLEngine on
                    SSLCertificateFile <tmpl_var name='document_root'>/ssl/<tmpl_var name='ssl_domain'>.crt
                    SSLCertificateKeyFile <tmpl_var name='document_root'>/ssl/<tmpl_var name='ssl_domain'>.key
    <tmpl_if name='has_bundle_cert'>
                    SSLCACertificateFile <tmpl_var name='document_root'>/ssl/<tmpl_var name='ssl_domain'>.bundle
  3. karuott

    karuott New Member

    That's the problem, i need that line only for one ssl host.

    Ok i thought that through. I can theoretically put that line to all the vhosts.
    Last edited: Nov 6, 2013
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. I guess there is no solution to do this for a single vhost.

Share This Page