Communication between HTTPS Server and Services

Hello everyone.

I have 3 Servers and one Client in Cluster they work with HTTPS and Certificates. I need to know if the services work with https Ping. I have one example program and if i want to get the service with https:server:8501 i cannot get response because consul cannot find the service . Please see the image.