A self-signed SSL certificate is an SSL Certificate that is issued by the person creating it rather than a trusted certificate authority. This can be good for testing environments.
openssl genrsa -out ca.key 2048
openssl req -x509 \
-new -nodes \
-days 365 \
-key ca.key \
-out ca.crt \
-subj "/CN=*.awsdevopstrainer.com"
kubectl create secret tls nginx-tls-secret \
--key ca.key \
--cert ca.crt