Can't add SSL on


I want to use openvidu with docker and traefik.

I have website with domain : (https certificat is valid)
I have another website with domain : (https certificat is NOT valid)

did you know how and why I have this probleme ?

Thanks à lot

Use Traefik it will do the ssl termination for you. Traefik uses rules, routers, and services to proxy http(s) requests to services (aka your website).
hostnames are matched and routed to ip:ports not domain:ports
Letsencrypt will only works on port 80 and 443 to validate domain ownership. would need self sign cert but not if you use traefik.
check out

It's exactly what I say.
my domain is ok but domain:port not have good certificat ...
if you have a really exemple, I prefére thanks :slight_smile:

I manage to do working openvidu server kms only in https with config : server.ssl.enable=false
When I set to true with self manual certificate, I get this error :

2019-12-26 21:59:58,241 DEBG 'openvidu-server' stdout output:
[ERROR] 2019-12-26 21:59:58,237 [main] org.apache.catalina.util.LifecycleBase (log) - Failed to start component [Connector[HTTP/1.1-4443]]
org.apache.catalina.LifecycleException: Protocol handler start failed 
Caused by: java.lang.IllegalArgumentException: null
Caused by: null


The Tomcat connector configured to listen on port 4443 failed to start. The port may already be in use or the connector may be misconfigured.


Verify the connector's configuration, identify and stop any process that's listening on port 4443, or configure this application to listen on another port.