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

Problem: There's no way to define REQUESTS_CA_BUNDLE environment variable #1

Open
mamedin opened this issue Sep 1, 2021 · 0 comments

Comments

@mamedin
Copy link

mamedin commented Sep 1, 2021

We have a problem in an AIPscan deployment with one customer that uses a certificate which CA is not added in linux default certificates.

The CA was added following: https://www.archivematica.org/es/docs/archivematica-1.13/admin-manual/security/security/#trusting-additional-cas

But AIPscan was not trusting the certificate.

As workaround I added the environment variable to the AIPscan and celery systemd files:

[Service]
# Client Env Vars
Environment=REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt

But probably it is better to configure the systemd file to read from a /etc/default/AIPscan file the environment variables to be used or other alternative way.

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