Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker missing apache2 SSLCertificateFile? #26

Closed
Firedrops opened this issue Feb 6, 2019 · 2 comments
Closed

Docker missing apache2 SSLCertificateFile? #26

Firedrops opened this issue Feb 6, 2019 · 2 comments

Comments

@Firedrops
Copy link
Contributor

Firedrops commented Feb 6, 2019

Looking through the docker build logs for the http.docker, I see this line.

Step 4/6 : RUN a2enmod cgi 
---> Running in 758779dd026b
AH00526: Syntax error on line 7 of /etc/apache2/sites-enabled/000-default.conf:
SSLCertificateFile: file '/etc/apache2/ssl/server.crt' does not exist or is empty
Your MPM seems to be threaded. Selecting cgid instead of cgi.

I checked in the docker, /etc/apache2/ssl/ exists, but the file server.crt doesn't.

Is this something we should worry about, and if so, where should we find/generate the server.crt file?

@Firedrops
Copy link
Contributor Author

Update: I realised the server.crt and other keys are generated after boot by entrypoint.sh.

Should ENTRYPOINT bash /entrypoint.sh $BWA_FILES be moved to above RUN a2enmod cgi?

@Firedrops
Copy link
Contributor Author

Realised I had mixed up the 2 entrypoint.sh, and was accidentally running the one in the root folder instead of the /http folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant