-
Notifications
You must be signed in to change notification settings - Fork 56
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
rucio-server container does not allow x509_proxy authentication #329
Comments
Did you enable RUCIO_HTTPD_GRID_SITE_ENABLED ? |
No... even when checking the env variables the docker image uses I didn't make that connection... Is that documented somewhere? What else does this option enable / change? |
I don't think it's documented, but we should perhaps be mentioning it here https://github.com/rucio/containers/tree/master/server I am not 100% sure if this fixes the issue, but in principle you need to run mod_gridsite in apache to handle x509 proxies. So it is at least a prerequisite. |
Trying it now.... |
Ok, one step further, I now get a different error:
|
In case this might help narrow down the issue: it seems that via curl, the request goes through:
|
Debugging with changing log messages to show the full exceptions and adding some addtional logs, I found that for some reason, the client tries to use my current working directory as location for the client certificate:
|
The reason for this is that my config, due to how the docker system is setup, contained an empty entry for the client proxy. Which due to this code: leads to the current working directory being inserted into the cert option |
Would you suggest to change something in this case? I am not sure how much this is a Rucio issue or how much this stems from your docker setup? :-) |
Ahh, should have read my next eMail first. I guess #6845 is the followup from this. Can we close this containers issue then? |
A fix here could be to also not have the empty sections in the default config that gets merged |
When trying to authenticate using an x509_proxy, the httpd responds with
proxy certificates not allowed
:The text was updated successfully, but these errors were encountered: