Skip to content

Instantly share code, notes, and snippets.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD8bkSHz3Et3TeTK7+JfgbNmUz6fOG/v0G0M02lRP6nej978PakpnzqSNyFANGUMoy5yaXgyApDbeU+8V/ROYs4oZgV+xzNf7TEQ6zs
p66ZrBONt7dMZwJeZjEG55ALHmnXLJEoycyNNSN40tAF4Nc9+0Hj9XS4H8c39EZnzcpoHi7EwE+zPv2cRdwQFzck80yq7qFF+pCZxyBtUlYRK55tT/fdoqVV6x93NMSvWN6vYSCaoIu7
Q0lcSWLyviQcWn6BDXjlQHR7SrjxRdYS4KCc0O3ECKlZXcjNd4hZpQXS6VtQC+v31yKJLiYhM+/rEPQl+jbVpw6mZi3XmJ2oYjRD dan@DESKTOP-KA6D8PI
@denji
denji / golang-tls.md
Last active April 29, 2024 03:39 — forked from spikebike/client.go
Simple Golang HTTPS/TLS Examples

Moved to git repository: https://github.com/denji/golang-tls

Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)