It is hardcoded in the original file  see   repository.
https://github.com/h5bp/server-configs-apache/blob/main/h5bp/tls/certificate_files.conf

As I am  using letsencrypt   I do not need to  include the file
h5bp/tls/certificate_files.conf  as suggested by Florian.

I included this file because it was suggested  I should in the template
https://github.com/h5bp/server-configs-apache/blob/main/vhosts/templates/example.com.conf







On Fri, 10 Feb 2023, 17:26 Paul, <storm...@stormy.ca> wrote:

> On 2023-02-10 09:38, Zahid Rahman wrote:
> > *my apache2 installation directory is /etc/apache2 not /usr/local
> > *
> > *looks like some kind of hard coding error
>
> OK -- so what/why did you "hard code" to /usr/local ?
>
> > *$ syst$emctl status apache2.service*
>
> Assuming this is a typo for "systemctl status apache2.service"
> [snip]
> >       Active: failed (Result: exit-code) since Fri 2023-02-10 14:29:33
> > UTC; 12s ago
> [snip]
> > Feb 10 14:29:33 ubuntu apachectl[16627]: AH00526: Syntax error on line
> > 29 of /etc/apache2/backbutton_configs/h5bp/tls/certificate_files.conf:
> > Feb 10 14:29:33 ubuntu apachectl[16627]: SSLCertificateFile: file
> > *'/usr/local/*apache2/certs/default.crt' does not exist or is empty
>
> OK -- again, what/how/why did you hard code to /usr/local? Obviously
> Apache can't find it. If it truly exists, permissions? (and that's a
> long shot.)
> [snip]
>
> > *$ journalctl -xeu apache2.service*
> [snip]
> > Feb 10 13:52:48 ubuntu apachectl[15717]: AH00526: Syntax error on line
> > 29 of /etc/apache2/backbutton_configs/h5bp/tls/certificate_files.conf:
> > Feb 10 13:52:48 ubuntu apachectl[15717]: SSLCertificateFile: file
> > '*/usr/local/*apache2/certs/default.crt' does not exist or is empty
>
> Same error.
>
> Critical thinking, a rather old-fashioned concept, suggests that you
> might, eventually, last-ditch, examine the meaning of the words "does
> not exist".
>
> Good luck.
>
> Best,
> Paul
> ---
> Tired old sys-admin, who gave up crystal ball gazing in 1954 using
> FORTRAN on an IBM 704
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to