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 -

The previous code was as below -

I've corrected the code as below -
<VirtualHost> --------------------------------> added the opening for <VirtualHost>

It fixed my issue! 

Was this answer helpful?

 Print this Article

Also Read

How to change the primary IP address of a WHM/cPanel (centOS/RHEL) based servers?

1. Steps for WHM: I. Log into WHM >> Basic cPanel & WHM Setup II. Change the Primary...

How to setup SMTP port on Linux server using WHM?

By default SMTP outgoing server is configured for port 25. If you would like to allow exim to...

MySQL Error 28 - WordPress Error

While accessing the WordPress site and dashboard, I was getting the error as 'MySQL Error 28'....

Failed to send your message. Please try later or contact the administrator by another method - WordPress Contact Form is not working

While sending email from WordPress's contact form, I was getting below error -Failed to send your...

Error: Website not found. If the website was recently renamed or moved please edit the install to save the new location (Files & Tables tab).

I was getting below error when opening installatron for all installs - Error message - Error:...

Powered by WHMCompleteSolution