YateMMI with SSL certificate

If you want to add an SSL certificate to YateMMI please make sure you disable it when DUMP_MODULES is requested.

Configuration example:

<VirtualHost _default_:443>
    # general configuration
    ServerAdmin root@domain.com
    ServerName domain.com

    # SSL configuration
    SSLEngine on

    <IfDefine !DUMP_MODULES>
        SSLCertificateFile /etc/pki/tls/certs/fullchain.pem
        SSLCertificateKeyFile /etc/pki/tls/private/privkey.pem
    </IfDefine>
    CustomLog logs/ssl_request_log \
        “%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \”%r\” %b”
</VirtualHost>

If you don’t, you might see notice  Please enable following Apache modules: mod_rewrite, mod_env. You should also set \”AllowOverride FileInfo Options\” in /etc/httpd/conf/sites.d/yate-mmi.conf for \””.htmlentities(“<Directory /var/www/html/mmi>”).”\”, restart httpd then log in again.