Example usage of cert-manager, which is using self-signed CA for issuing TLS certificates as K8s secrets.
These TLS secrets are then used in Ingresses which are consumed by ingress-nginx.
make tf-apply
sudo vim /etc/hosts
# /etc/hosts
- 127.0.0.1 localhost
+ 127.0.0.1 localhost app.jakuboskera.local
openssl s_client \
-connect app.jakuboskera.local:443 \
-servername app.jakuboskera.local \
</dev/null 2>/dev/null \
| openssl x509 -noout -text \
| grep DNS: \
| awk '{$1=$1};1'
open https://app.jakuboskera.local
make tf-apply