Skip to content

Openssl

Create SSL certs

  • Using third party:
Bash
git clone https://github.com/rabbitmq/tls-gen tls-gen
cd tls-gen/basic
# private key password
make PASSWORD=bunnies
make verify
make info
ls -l ./result

Check SSL validity

Check Dates

On local/server machine:

Bash
cat somecert.pem | openssl x509 -noout -dates
Check live cert:
Bash
export SITE_URL="kafana.dev"
export SITE_SSL_PORT="443"
openssl s_client -connect ${SITE_URL}:${SITE_SSL_PORT} \
  -servername ${SITE_URL} 2> /dev/null |  openssl x509 -noout  -dates