custom vhost mod_ssl entries like SSLCipherSuite and SSLProtocol

Discussion in 'Server Operation' started by sygram, Jan 4, 2017.

  1. sygram

    sygram Member

    Hi there,

    i would kindly ask you to point out how to add custom vhost mod_ssl entries like SSLCipherSuite and SSLProtocol. If i use the "Apache Directives" option and add something like :

    <IfModule mod_ssl.c>
    SSLEngine on
    SSLCertificateFile /var/www/clients/client0/web35/ssl/
    SSLCertificateKeyFile /var/www/clients/client0/web35/ssl/
    SSLCACertificateFile /var/www/clients/client0/web35/ssl/
    SSLProtocol all -SSLv3
    SSLHonorCipherOrder on
    SSLCompression off


    the entries cause and error so an ...vhost.err error file is created and the entries get ignored. The entries also appear in non ssl Vhost area. I am not sure if directive <IfModule mod_ssl.c> in that place causes the error or the double appearance.

    I would appreciate your reply in order not to change the vhost file every time upon ispconfig's update. Thank you very much.

    Kind Regards
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Why don't you set the cipher suite globally in the apache config?
  3. sygram

    sygram Member

    Thank you for your reply.

    I thinkg ispconfig overrides these settings per vhost when you issue a certificate. I think i had already got :

    <IfModule mod_ssl.c>
    SSLEngine on
    SSLProtocol All -SSLv2 -SSLv3
    SSLHonorCipherOrder On

    So regardless the global settings this vhost will have it's own settings. Also some clients might want less strict settings like "modern" or "intermediate" ( )

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Current ispconfig versions do not set a cipher suite in the vhost, so you must either have a custom vhost master template where you set this or not a current ispconfig version.

Share This Page