Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • it helped me for a certs not generated on that server but uploaded from other source
    – tymik
    Commented May 27, 2015 at 14:10
  • 2
    sudo: restorecon: command not found Commented Dec 13, 2016 at 16:26
  • @FranciscoCorralesMorales restorecon is a part of policycoreutils package. Also you maybe don't have SELinux at all?
    – AntonioK
    Commented Dec 14, 2016 at 7:09
  • I was getting this error, and it was because I was running the command apache2ctl -t as my normal user. When I instead did sudo apache2ctl -t it works fine (gives me a warning about missing ServerName, but no errors about certificates not existing). Commented Jun 17 at 0:40