get private ssl cert
Mon, Aug 29, 2022
One-minute read
get private ssl cert
This is how I get private SSL certs which is really useful when using private gitlab and argocd
openssl s_client -showcerts \
-servername gitlab.homelab.com \
-connect gitlab.homelab.com:443 \
</dev/null 2>/dev/null | sed -n -e \
'/BEGIN\ CERTIFICATE/,/END\ CERTIFICATE/ p' \
> /tmp/sslkey.pem
Tags:
#openssl #ssl #argocd