Manually add SSLCACertificateFile to only one domain.

Discussion in 'General' started by Anderson Costa, Aug 13, 2021.

  1. Anderson Costa

    Anderson Costa New Member

    I need to manually add SSLCACertificateFile to a webhost.
    But when I do the panel it puts both on the virtualhost port *:80 and *:443 giving an error.
    How can I add this SSLCACertificateFile to only one domain in the configuration *:443?

    Thank you very much in advance
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    That will depend on what webserver you are using, apache or nginx. In apache you could try adding it inside
    <If "%{HTTPS} == 'on'"> ... </If> though I don't know if that will work or not, if not you can base it on the port with somthing like <If "%{SERVER_PORT} == 443">.
     

Share This Page