@server1:~$ go run tls_error.go -host server1.ca1.example -cafile CA1/ca-cert.pem -port 443 -verify=false Loading CA certificate file Loaded 1 root certificates. Connecting to server1.ca1.example:443 Enabling SSL/TLS Connection successful, calling Handshake() panic: remote error: bad record MAC goroutine 1 [running]: main.main() /home/jhanks/tls_error.go:58 +0x78f goroutine 2 [syscall]: created by runtime.main /usr/local/go/src/pkg/runtime/proc.c:221 goroutine 3 [syscall]: syscall.Syscall6() /usr/local/go/src/pkg/syscall/asm_linux_amd64.s:40 +0x5 syscall.EpollWait(0xf800000006, 0xf84007c0c0, 0xa0000000a, 0xffffffff, 0xc, ...) /usr/local/go/src/pkg/syscall/zerrors_linux_amd64.go:1846 +0xa1 net.(*pollster).WaitFD(0xf84007c0b0, 0xf840046480, 0x0, 0x0, 0x0, ...) /usr/local/go/src/pkg/net/fd_linux.go:146 +0x110 net.(*pollServer).Run(0xf840046480, 0x0) /usr/local/go/src/pkg/net/fd.go:236 +0xe4 created by net.newPollServer /usr/local/go/src/pkg/net/newpollserver.go:35 +0x382 exit status 2