Step 1: Copy the certificate files (.crt) to Apache server
- Certificate (e.g., star_umac_mo.crt)
- Intermediate certificate (e.g., DigiCertCA.crt)
Step 2: Copy the .key file generated when creating the CSR to Apache server
Step 3: Modify the Apache configuration file (httpd.conf or ssl.conf)
Modify the <VirtualHost> block for the SSL- enabled site
<VirtualHost [IP_ADDRESS]:443>
DocumentRoot /var/www/html2
ServerName www.yourdomain.com
SSLEngine on
SSLCertificateFile Path to certificate file provided by ICTO (e.g., /etc/ssl/crt/star_umac_mo.crt)
SSLCertificateKeyFile Path to .key file generated when creating the CSR (e.g., /etc/ssl/crt/your_private.key)
SSLCertificateChainFile Path to Intermediate certificate file provided by ICTO (e.g., /etc/ssl/crt/DigiCertCA.crt)
</VirtualHost>
Step 4: Test the configuration
Test the Apache configuration with the following command:
# apachectl configtest
Step 5: Restart Apache server