SSL Installation error -directive missing closing ‘>’ – Knowledgebase

While installing the SSL on domain from WHM >> SSL/TLS >> Install an SSL Certificate on a Domain, the below error occured –

The “/usr/sbin/httpd” command (process 80677) reported error number 1 when it ended.

httpd_ls_bak: Syntax error on line 49909 of [Test Configuration File]: 

</VirtualHost>rdata/ssl/2_4/cPanel_username/domain_name/*.conf”> directive missing closing ‘>’

Solution –

This error was due </VirtualHost> was not closed in /etc/httpd/conf/httpd.conf file. I’ve corrected the entry and rebuild the httpd.conf file using below commands –


The previous code was as below –


I’ve corrected the code as below –

<VirtualHost> ——————————–> added the opening for <VirtualHost>

It fixed my issue! 

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat