ajilach / clamav-rest

ClamAV virus/malware scanner with REST API
https://hub.docker.com/r/ajilaag/clamav-rest
MIT License
40 stars 24 forks source link

Client sent an HTTP request to an HTTPS server #55

Open gvoden opened 1 month ago

gvoden commented 1 month ago

I am getting this error when running curl against the service which is running on EKS:

Client sent an HTTP request to an HTTPS server.

I have a valid SSL certificate installed on a load balancer.

arizon-dread commented 1 month ago

What does your curl command look like? Can you post it?

This error sounds like your curl is specifying http://my-eks.instance.com:443

So the scheme is http but the port is https.

gvoden commented 1 month ago

Actually I fixed my issue. The ingress proxy was sending the traffic to the https port 9443 but using a http call since we are offloading SSL onto the load balancer. Reconfigured the ingress to forward https traffic to port 9000 instead.