Page MenuHomeDevCentral

Add Nasqueron Vault CA certificate to image
ClosedPublic

Authored by dereckson on Jan 12 2024, 22:47.
Tags
None
Referenced Files
F11698685: D3271.diff
Fri, Sep 12, 03:08
F11694777: D3271.id.diff
Thu, Sep 11, 06:57
Unknown Object (File)
Wed, Sep 10, 20:12
Unknown Object (File)
Wed, Sep 10, 17:46
Unknown Object (File)
Wed, Sep 10, 15:01
Unknown Object (File)
Tue, Sep 9, 11:02
Unknown Object (File)
Tue, Sep 9, 11:02
Unknown Object (File)
Sun, Sep 7, 22:38
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 Passed
Unit
No Test Coverage
Branch
main
Build Status
Buildable 5158
Build 5439: arc lint + arc unit

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