SSL Installation error -directive missing closing '>'

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 -
/scripts/rebuildhttpdconf

The previous code was as below -
</VirtualHost>rdata/ssl/2_4/cPanel_username/domain_name/*.conf">
</VirtualHost>

I've corrected the code as below -
</VirtualHost>
<VirtualHost> --------------------------------> added the opening for <VirtualHost>
rdata/ssl/2_4/cPanel_username/domain_name/*.conf">
</VirtualHost>

It fixed my issue! 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

This webpage is not found - Cannot export database

While exporting the database zip file from cPanel >> phpMyAdmin as well from SSH, I was...

Error while accessing site with special characters. Update collation for database.

I was getting the error while acccessing the http://yourdomainname/collat.php as below -Error...

Response: 530 Login authentication failed Error: Critical error: Could not connect to server.

I was unable to connect to FTP using correct credentials with the below error message - Status:...

PHP extension soap must be loaded - Magento Issue

While installing the Magento on cPanel server, I got the error as 'PHP extension “soap” must be...

root @hostname emails are frozen on the cPanel server

I have configured WHM >> Edit System Mail Preferences page but emails are not getting...

Powered by WHMCompleteSolution