Enable SSL for Apache Monitoring

Enabling SSL for Apache Monitoring

  1. Enable SSL support on Apache default virtual host file, found in the following location:
    For Ubuntu/Debian: sudo vi /etc/apache2/sites-enable/000-default.conf
    For Centos/Redhat: sudo vi /etc/httpd/conf.d/ssl.conf
  2. Edit the virtual host file to support SSL in port 443:
    For Ubuntu/Debian:
    <VirtualHost *:443>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    SSLEngine on
    SSLCertificateFile <File Name>
    SSLCertificateKeyFile <Key>
    </VirtualHost>


    For Centos/Redhat:
    <VirtualHost _default_:443>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    # SSLProtocol all -SSLv2
    # SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA
    SSLCertificateFile <File Name>
    SSLCertificateKeyFile <Key>
    </VirtualHost>
  3. Run the below commands to enable SSL mode:
    For Ubuntu/Debian: sudo a2enmod ssl
    For Centos/Redhat: sudo yum install mod_ssl
  4. Restart the server.

    • Related Articles

    • Prerequisites for VMware VDI Monitoring

      Site24x7 monitors VMware Horizon as a part of VMware virtual desktop infrastructure (VDI) monitoring.  Site24x7 collects VMware VDI metrics using Windows On-Premise Poller via the PowerShell scriptlets available in VMware, known as the VMware ...
    • Changing the port for Apache monitoring

      Edit the ports configuration file: For Ubuntu/Debian: Edit /etc/apache2/ports.conf For Centos/Redhat: Edit /etc/httpd/conf/httpd.conf Check for the line Listen 80. Change port from 80 to the desired port. To make the server accept connections on the ...
    • VMware privileges required for VMware monitoring using Site24x7

      To monitor different VMware resources using Site24x7, you must have a few privileges enabled. For users with an Administrator role, all privileges will be available. If you have a Read Only role, you'll need additional privileges to perform certain ...
    • Comparison between Site24x7 VMware Monitoring and VM monitoring using Site24x7 server agent

      Site24x7 VMware Monitoring capabilities Site24x7 VMware monitoring is agentless. An On-Premise Poller acts as a probe to collect data and sends it to Site24x7. With Site24x7 VMware Monitoring, you will be able to: Monitor vCenter Monitor VMware ...
    • Ignore transactions from monitoring

      To ignore or drop transactions from monitoring by the APM Insight PHP agent, follow the below-given steps. Install APM Insight PHP agent in your application and add a configuration file /opt/zpa/conf/transaction_drop_patterns.conf Add transaction ...