Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@slavniyteo
slavniyteo / crt-load.sh
Created December 28, 2017 09:54
Download TLS certificate from server
#!/bin/sh
#================== Load certificate from server ===============================
HOST_NAME="${HOST_NAME:-google.com}"
SERVER_NAME="${SERVER_NAME:-${HOST_NAME}}"
PORT="${PORT:-443}"
FORMAT="${FORMAT:-PEM}" # DER|PEM|NET see `man x509`
FILE_NAME="${FILE_NAME}" # Filename into /usr/local/share/ca-certificates
@jessejanderson
jessejanderson / intro-to-otp-in-elixir-resources.md
Last active September 27, 2024 08:14
Intro to OTP in Elixir - Resources