We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1d929c commit c563ba2Copy full SHA for c563ba2
cmd/imapmemserver/main.go
@@ -35,7 +35,7 @@ func main() {
35
36
var tlsConfig *tls.Config
37
if tlsCert != "" || tlsKey != "" {
38
- cert, err := tls.LoadX509KeyPair("../tlstunnel/cert.pem", "../tlstunnel/key.pem")
+ cert, err := tls.LoadX509KeyPair(tlsCert, tlsKey)
39
if err != nil {
40
log.Fatalf("Failed to load TLS key pair: %v", err)
41
}
0 commit comments