diff --git a/proxyserver/main.go b/proxyserver/main.go index c7784789..01264642 100644 --- a/proxyserver/main.go +++ b/proxyserver/main.go @@ -128,7 +128,7 @@ func main() { panic(err) } - cert, err := tls.LoadX509KeyPair(string(pemdata), string(keydata)) + cert, err := tls.X509KeyPair(pemdata, keydata) if err != nil { panic(err) }