Skip to main content

Installing SSL Certificate Error

Comments

4 comments

  • cPanelMichael
    Hello, What version of cPanel is installed on your system? Is the SSL certificate working? The output from /scripts/rebuildhttpdconf does not show anything that would prevent the certificate from installing or cause any problems with your websites loading. Thank you.
    0
  • dorac
    Hi Michael, WHM 11.48.4 Created a ticket and has been resolved. The solution:
    Looking through your configuration, I noticed that "MaxRequestLen" is defined on two of your modsec.conf includes specifically for printcanvas.co.za - one for SSL and one for non-SSL: ------------------------------------------------------------ ./userdata/std/2/printfyc/printcanvas.co.za/modsec.conf:#MaxRequestLen 15728640 ./userdata/ssl/2/printfyc/printcanvas.co.za/modsec.conf:MaxRequestLen 15728640 ------------------------------------------------------------ I do see that the non-SSL MaxRequestLen was commented out already, but it looks like the SSL modsec.conf entry did not get commented out, and was triggering the syntax error. I've gone ahead and commented this for you, and I can confirm that the SSL is installing successfully now. Let me know if you continue to run into any issues, or if you have any other questions at all for us - we're happy to help out.
    0
  • cPanelMichael
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0
  • theRKF
    In case anyone else comes across this post via Google as I did, here's some additional info. I was trying to install an SSL cert and got this error:
    Syntax error on line 22873 of [test configuration file] rewriterule: bad flag delimiters
    The problem was related to some redirects in my httpd.conf file. I had this:
    [R=301, L]
    The problem was the space before the "L".
    0

Please sign in to leave a comment.