Skip to content

Instantly share code, notes, and snippets.

@superseb
Last active November 12, 2019 18:25
Show Gist options
  • Save superseb/b2c1d6c9baa32609a49ee117a27bc700 to your computer and use it in GitHub Desktop.
Save superseb/b2c1d6c9baa32609a49ee117a27bc700 to your computer and use it in GitHub Desktop.
Curl self signed certificates
#!/bin/bash
DOMAIN=$1
docker run -v $PWD/certs:/certs \
-e SSL_SUBJECT=$DOMAIN \
-e SSL_DNS=$DOMAIN \
superseb/omgwtfssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment