-
Notifications
You must be signed in to change notification settings - Fork 208
Description
When running ssl test from ssllabs, i got this error logs, i dont know if it was my conf problem or i have setup wrong https cert, but i receive A rating from the test, and that means all good. I dont know what this error logs had to do:
ERROR WRK-00 RUSTLS
2024-11-04T06:18:56.608175Z 1730701136608175255 74051 ERROR WRK-01 RUSTLS [01JBTX74Q086X9XF52Q8X9012K - -] Session(sni="a.domain.com", source="source_ip", frontend=10, readiness=I("R-EH")&R("RW--")=M("R---"))
Could not perform handshake: PeerIncompatible(NoKxGroupsInCommon
Could not perform handshake: InappropriateMessage { expect_types: [Handshake], got_type: ChangeCipherSpec
ERROR WRK-01 cannot look up certificate: no SNI from session
Could not perform handshake: PeerIncompatible(NoCipherSuitesInCommon)
Could not perform handshake: General("no server certificate chain resolved")
Could not perform handshake: PeerIncompatible(SignatureAlgorithmsExtensionRequired)
Could not perform handshake: NoApplicationProtocol
Im using cerbot to generate ssl cert certbot certonly --standalone -d a.domain.com
And copied all required certs for https.
My sozu https conf:
[[listeners]]
protocol = "http"
address = "0.0.0.0:80"
[[listeners]]
protocol = "https"
address = "0.0.0.0:443"
tls_versions = ["TLS_V12", "TLS_V13"]
cipher_list = [
"TLS13_AES_256_GCM_SHA384",
"TLS13_AES_128_GCM_SHA256",
"TLS13_CHACHA20_POLY1305_SHA256",
"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
]
[clusters]
[clusters.Server1]
protocol = "http"
https_redirect = true
frontends = [
{ address ="0.0.0.0:80", hostname = "a.domain.com" },
{ address = "0.0.0.0:443", hostname = "a.domain.com", certificate = "/etc/letsencrypt/live/a.domain.com/cert.pem", key = "/etc/letsencrypt/live/a.domain.com/privkey.pem", certificate_chain = "/etc/letsencrypt/live/a.domain.com/chain.pem" },
]
backends = [
{ address = "127.0.0.1:6128" }
]
Im trying to upload files to my backend server using curl curl -F "file=@test.txt" "https://a.domain.com/upload , but mostly got error logs about Could not perform handshake and can't upload the files. When using other reverse proxys like nginx, envoy, haproxy, everything good and had no problems. Im in the process to migrate all my ends to sozu, but this https error kept holding me.