Skip to content

Instantly share code, notes, and snippets.

@acceptableEngineering
Last active January 16, 2024 20:39
Show Gist options
  • Save acceptableEngineering/53857ad05f5fc0bab0cf585f5e0b1647 to your computer and use it in GitHub Desktop.
Save acceptableEngineering/53857ad05f5fc0bab0cf585f5e0b1647 to your computer and use it in GitHub Desktop.

SSL

Lookup an SSL certificate (for any service/port)

$ DOMAIN=www.shoutdrive.com && echo | openssl s_client -showcerts -servername ${DOMAIN} -connect ${DOMAIN}:443 2>/dev/null | openssl x509 -inform pem -noout -text

Mount a Remote Service Locally

$ ssh -L 15672:localhost:15672 user@remoteHost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment