title: Error creating apache certificate
body: <p>I have a CentOS server and I'm trying to install Apache Certificate using the following command:</p>
  
  <p><code>certbot --apache -d myDomain.com</code></p>
  
  <p>But I'm getting the following error:</p>
  
  <pre><code>Saving debug log to /var/log/letsencrypt/letsencrypt.log
  Plugins selected: Authenticator apache, Installer apache
  Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
  Obtaining a new certificate
  Performing the following challenges:
  tls-sni-01 challenge for myDomain.com
  Error while running apachectl graceful.
  
  Job for httpd.service invalid.
  
  Cleaning up challenges
  Error while running apachectl graceful.
  
  Job for httpd.service invalid.
  
  Encountered exception during recovery
  Error while running apachectl graceful.
  
  Job for httpd.service invalid.
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/certbot/error_handler.py", line 100, in _call_registered
      self.funcs[-1]()
    File "/usr/lib/python2.7/site-packages/certbot/auth_handler.py", line 284, in _cleanup_challenges
      self.auth.cleanup(achalls)
    File "/usr/lib/python2.7/site-packages/certbot_apache/configurator.py", line 1945, in cleanup
      self.restart()
    File "/usr/lib/python2.7/site-packages/certbot_apache/configurator.py", line 1834, in restart
      self._reload()
    File "/usr/lib/python2.7/site-packages/certbot_apache/configurator.py", line 1845, in _reload
      raise errors.MisconfigurationError(str(err))
  MisconfigurationError: Error while running apachectl graceful.
  
  Job for httpd.service invalid.
  
  Error while running apachectl graceful.
  
  Job for httpd.service invalid.
  </code></pre>
  
  <p>I check if Apache was running:</p>
  
  <pre><code>ps aux|grep httpd
  root     16569  0.0  0.0   9064   920 pts/1    S+   14:44   0:00 grep --color=auto httpd
  </code></pre>
  
  <p>I had no instances of apache running.</p>
  
  <p>Any of you knows how can I fix this error or if there is workaround this?</p>
  
  <p>I'll really appreciate your help.</p>