logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Error message AH00526:
Author
stockton



Joined: 15 Dec 2016
Posts: 4
Location: Midrand, South Africa

PostPosted: Thu 15 Dec '16 16:16    Post subject: Error message AH00526: Reply with quote

Suddenly, after months & months of successful usage I am now getting the following error from Apache
AH00526: Syntax error on line 33 of /etc/apache2/sites-enabled/default-ssl.conf: SSLCertificateKeyFile: file '/etc/ssl/private/ssl-cert-snakeoil.key' does not exist or is empty
Please tell me how to fix this.
BTW up to date/current Raspbian Jessie and Apache on Raspberry B version3.
Back to top
maba



Joined: 05 Feb 2012
Posts: 64
Location: Germany, Heilbronn

PostPosted: Fri 16 Dec '16 7:48    Post subject: Reply with quote

You could just check whether the SSL key file mentioned has vanished for some reason.

Quote:

/etc/ssl/private/ssl-cert-snakeoil.key


This is the default key file (of any Debian based distribution). So if it has disappeared for some reason, you can pull it out of your installation DVD and copy it to the location mentioned in the error message.
Back to top
stockton



Joined: 15 Dec 2016
Posts: 4
Location: Midrand, South Africa

PostPosted: Fri 16 Dec '16 11:54    Post subject: Reply with quote

I did and it was and I fixed it with
sudo make-ssl-cert generate-default-snakeoil --force-overwrite

Solution from http://raspberrypi.org/forum
Back to top


Reply to topic   Topic: Error message AH00526: View previous topic :: View next topic
Post new topic   Forum Index -> Apache