Skip to content

Self Signed Certificates

Subject Alternative Name (SAN)

Do you have the SAN?

openssl s_client -connect example.com:443 </dev/null 2>/dev/null | openssl x509 -noout -text | grep DNS:

source

Generators

OMGWTFSSL

podman run -e SSL_SUBJECT="registry.brie.lol" -e SSL_DNS="registry.brie.lol" -e SSL_SUBJECT="registry.brie.lol"   paulczar/omgwtfssl

The certs that are printed to STDOUT contain annoying leading spaces:

sed -i  -e 's/^[ \t]*//' registry.brie.lol.crt
sed -i  -e 's/^[ \t]*//' registry.brie.lol.key