DEV Community

Mohan Sharma
Mohan Sharma

Posted on

Install Custom CA certs in EKS worker nodes through user data

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="==MYBOUNDARY=="

--==MYBOUNDARY==
Content-Type: text/x-shellscript; charset="us-ascii"

!/bin/bash

set -ex
/etc/eks/bootstrap.sh

echo "download and install certs 1 "
sudo aws s3 cp "s3://cert-bucket/cert1.crt" /etc/pki/ca-trust/source/anchors/
sudo update-ca-trust

sudo systemctl restart containerd

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay