Page MenuHomeDevCentral

Add Nasqueron Vault CA certificate to image
ClosedPublic

Authored by dereckson on Jan 12 2024, 22:47.
Tags
None
Referenced Files
F57034364: D3271.id8402.diff
Fri, Nov 13, 08:52
F57034360: D3271.id8399.diff
Fri, Nov 13, 08:52
F57034345: D3271.id.diff
Fri, Nov 13, 08:51
F56997762: D3271.diff
Thu, Nov 12, 18:46
F56793377: D3271.diff
Mon, Nov 9, 10:09
F56480920: D3271.diff
Fri, Nov 6, 11:00
F56445334: D3271.diff
Fri, Nov 6, 05:59
F56408458: D3271.id8402.diff
Thu, Nov 5, 21:46
Subscribers
None

Details

Summary

Deploy it according the underlying Debian userland recommandations.

Allow Python requests library to access it through $REQUESTS_CA_BUNDLE
environment variable.

Ref T1812

Test Plan
import requests
response = requests.post("https://172.27.27.7:8200")
response.status_code

Diff Detail

Repository
rDAF Docker image for Airflow
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
Dwellers
$ docker build -t nasqueron/airflow .
[...]

$ airflow nasqueron shell
$ env | grep -i cert
REQUESTS_CA_BUNDLE=/etc/ssl/certs

$ python
Python 3.11.7 (main, Dec 19 2023, 03:30:20) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> response = requests.post("https://172.27.27.7:8200")
>>> response.status_code
200
This revision is now accepted and ready to land.Jan 12 2024, 23:23