Comments (11)
Can you drop the link for the gist you are talking about here? I can't quickly find it right now.
from mod_wsgi-docker.
One issue may be that although mod_wsgi-express has a section for generating:
SSLOptions +StdEnvVars
I can't see how the generation gets enabled. It may be a bug or something I didn't complete.
You can try creating a file httpd-ssl.conf
and in it add:
SSLOptions +StdEnvVars
and then use the:
--include-file httpd-ssl.conf
option.
Am not sure whether this will work though as will be outside of the VirtualHost
and not in it where SSL is setup.
from mod_wsgi-docker.
The gist is https://gist.github.com/GrahamDumpleton/b79d336569054882679e
from mod_wsgi-docker.
Were you able to try the --include-file
workaround?
from mod_wsgi-docker.
I gave it a quick try and it didn't work, but that may have been due to another problem. For the moment I'm going to use a client token instead of client certs. When I have everything else working I may retry client certs.
from mod_wsgi-docker.
Can you confirm my interpretation of the issue, that is that the SSL_CLIENT_CERT
variable isn't being passed in the WSGI environ dictionary? Or is the issue something else?
I will try and fix the issue I did see this weekend. I have been travelling doing training during the week and doing the same next week, so a little busy.
from mod_wsgi-docker.
BTW, you could also add the option --setup-only
when you run start-server
. This will not actually start the server, but just generate the config.
Then go into the httpd.conf
file that was generated and change:
<IfDefine MOD_WSGI_SSL_ENVIRONMENT>
SSLOptions +StdEnvVars
</IfDefine>
to:
#<IfDefine MOD_WSGI_SSL_ENVIRONMENT>
SSLOptions +StdEnvVars
#</IfDefine>
Then run:
./apachectl start
in the directory of generated files.
This will start it up in background.
Test it, then run:
./apachectl stop
As I said, wasn't sure whether what I gave you would work if outside of the VirtualHost
.
from mod_wsgi-docker.
Actually, I am an idiot and can't read my own code properly.
Just add the option:
--ssl-environment
That will result in variables being passed through for SSL to WSGI environ.
from mod_wsgi-docker.
@eomeara Did you resolve your issue?
from mod_wsgi-docker.
from mod_wsgi-docker.
Okay. I will close this issue then.
from mod_wsgi-docker.
Related Issues (20)
- New Apache version HOT 1
- How do I modify the httpd.conf for apache? HOT 2
- static files HOT 16
- : "httpd (pid 7) already running" HOT 1
- Error while building on Windows 10 HOT 5
- docker hub fails with non-onbuild versions HOT 5
- Documentation about process owner HOT 1
- pip packages not getting cached HOT 9
- Documentation for mod_wsgi express command line flags HOT 1
- 403 error on root when using --mount-point HOT 1
- debian mirrors used in mod-wsgi-docker:python-3.5-onbuild image failing HOT 1
- Enable compress-responses / mod_deflate
- Context path or SCRIPT_NAME when deployed in docker, and proxied throgh front-end apache HOT 1
- ---
- Error while building python-2.7-onbuild HOT 2
- Debian Package Issues HOT 1
- Officially abandon mod_wsgi-docker project. HOT 3
- How to update limit-request-body using this image? HOT 8
- Failed to fetch jessie packages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mod_wsgi-docker.