Skip to content

Instantly share code, notes, and snippets.

View truthadjustr's full-sized avatar
☠️
rebirth

truthadjustr

☠️
rebirth
  • Cebu, Philippines
View GitHub Profile
@denji
denji / golang-tls.md
Last active December 20, 2024 16:44 — 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)