Inject Custom CA into al2 runtime

0

Hello Team,

I am writing a lambda function with al2 runtime layers including PowerShell and AWS Tools. The Lambda is connected to a VPC and I need to add custom CA as traffic is getting intercepted in firewalls for SSLDecrypt. The certificate store paths are readonly and I am unable to inject custom CA. Is there a way to add custom CA into the runtime?

Thank You Abdul

gefragt vor einem Jahr183 Aufrufe
1 Antwort
0
Akzeptierte Antwort

I was able to get around the problem by creating an additional layer with the root CA and adding the environment variable SSL_CERT_FILE with value pointing to the certificate file which gets mounted to /opt as part of the certificate layer.

beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen