Traefik version 1.7.15. There's 2 services kid4 and khub. When user hits the https://<domain_name> the kid4 response correctly. But when user hits https://<domain_name>/hub then there's error on request.
Here's my trafik file:-
defaultEntryPoints = ["http", "https"] logLevel = "DEBUG" [file] [entrypoints] [entrypoints.http] address = ":81" [entrypoints.http.redirect] entrypoint = "https" [entrypoints.https] address = ":443" [entrypoints.https.tls] [[entrypoints.https.tls.certificates]] certFile = "C:\\Users\\Administrator\\Desktop\\STAR_domain_net.crt" keyFile = "C:\\Users\\Administrator\\Desktop\\STAR_domain_net.key" [backends] [backends.khub] [backends.khub.servers] [backends.khub.servers.server1] url = "http://localhost:5003" [backends.kid4] [backends.kid4.servers] [backends.kid4.servers.server1] url = "http://localhost:5004" [frontends] [frontends.khub] backend = "khub" passHostHeader = true [frontends.khub.routes] [frontends.khub.routes.main] rule = "PathPrefixStrip:/hub;AddPrefix:/hub" [frontends.kid4] backend = "kid4" passHostHeader = true
DEBU[2020-01-13T11:38:17Z] Serving default cert for request: "<hostname>" DEBU[2020-01-13T11:38:20Z] Serving default cert for request: "<hostname>" DEBU[2020-01-13T11:38:23Z] Serving default cert for request: "<hostname>"
hub https:///hub Not Connected:The SSL connection could not be established, see inner exception., The remote certificate is invalid according to the validation procedure.. Retry in 3 second
Note:- If I ran the application on port 81, all the components works as expected. Seems the error due to TLS only