golang-tls
golang-tls copied to clipboard
Simple Golang HTTPS/TLS Examples
Constantly recieving error TLS handshake error from *.32.208.165:3870: remote error: tls: unknown certificate How to fix it? Thanks
Can you please give some example on how to send the data back to server fromv client.
Hi! In the tls server and client examples, what I need to do or change to use ed25519 on them? I m using go1.13, amd64 xubuntu 19.10 Linux Very Thanks...
``` package main import ( // "fmt" // "io" "net/http" "log" ) func HelloServer(w http.ResponseWriter, req *http.Request) { w.Header().Set("Content-Type", "text/plain") w.Write([]byte("This is an example server.\n")) } func main() { http.HandleFunc("/hello",...