cPanel – apache SSL 4096 character limit

I recently came across a error when trying to install an SSL for a client. I thought I might share in case someone else has this issue.

The certificate for the domain abc.com could not be installed.
Apache produced the following errors:

Syntax error on line 15650 of
/usr/local/apache/conf/httpd.conf.installssl.1268XXXXXX.866227547.078394-abc.com:
ScriptAlias takes two arguments, a fakename and a realname

Unable to produce a valid Apache configuration file. SSL Install aborted due to error.

Syntax error on line 15650 of
/usr/local/apache/conf/httpd.conf.installssl.1268XXXXXX.866227547.078394-abc.com:
ScriptAlias takes two arguments, a fakename and a realname

Basically, this issue is related to and caused by a limitation in Apache when there are more than 4096 characters in a single line. When that threshold is reached, Apache tends to drop some characters randomly, causing an improper configuration to be built.

cPanel is working on resolving this issue through a workaround, but it will not be released right away. You may be able to disable proxy domains in the vhost entry which may be causing this issue.

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.