Error
SSL install aborted due to error: Unable to produce a valid Apache configuration file.
Certificate verification passed
milesweb.com is already configured for SSL on 199.189.248.117.
The certificate for the domain milesweb.com could not be installed. Apache produced the following errors:
Syntax error on line 41201 of /usr/local/apache/conf/httpd.conf.installssl.1341504497.261732239.984084-milesweb.com:
ServerName takes one argument, The hostname and port of the server
Apache produced the following errors:
Syntax error on line 41201 of /usr/local/apache/conf/httpd.conf.installssl.1341504497.261732239.984084-milesweb.com:
ServerName takes one argument, The hostname and port of the server
When installing SSL from WHM, you might receive this error & SSL won’t be installed further. If you check the error properly, it is because incorrect entry for ServerName in one of the VirtualHost of apache configuration file.
To fix this, login to the server via SSH & access /usr/local/apache/conf/httpd.conf. Look at the line number in error code. You will find that there are multiple domains in ServerName which is incorrect. You should have just one domain name and others should be added just below ServerName as ServerAlias. Make the changes accordingly and restart apache.
Now, try installing SSL, you will be able to install it properly.