SSLCARevocationCheck httpd 2.2 issue

While installing puppet, I encountered following error with apache httpd server:

# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Syntax error on line 43 of /etc/httpd/conf.d/puppetmaster.conf:
Invalid command 'SSLCARevocationCheck', perhaps misspelled or defined by a module not included in the server configuration


SSLCARevocationCheck is a new directive for apache mod_ssl module that has been introduced in apache 2.4. It dose not exist in apache 2.2 but other SSLCARevocation related directive are supported in 2.2.


As I have httpd 2.2 installed,  so I just comment out SSLCARevocationCheck and restart apache successfully.





Comments

  1. Thanks faced the same issue. Faced the below too

    root@puppet:~# /etc/init.d/apache2 reload
    [Wed Feb 10 17:36:09 2016] [warn] module passenger_module is already loaded, skipping
    Syntax error on line 76 of /etc/apache2/sites-enabled/puppetmaster:
    Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
    Action 'configtest' failed.
    The Apache error log may have more information.
    ...fail!

    need to enable a module

    root@puppet:~# a2enmod version
    Enabling module version.



    ReplyDelete
    Replies
    1. Exactly, So basically what's happened here is that puppet master is checking for Apache httpd version in its config file via mod_version container , and it has to be loaded in order to pass the check.
      Thanks for pointing the related facing issue and solution.

      Delete

Post a Comment

Popular posts from this blog

Linux and AIX user non expiry and force password change at first login

Rebuild your new Yum repository after changing the packages

Running Docker Wildfly/JBoss Application Server in Debug mode via Eclipse