fix(gateway): Add SSL support for WSS
Closes gravitee-io/issues#2811
@@ -316,7 +316,7 @@ public class VertxHttpClient extends AbstractLifecycleComponent<Connector> imple
URI target = URI.create(endpoint.getTarget());
HttpClientSslOptions sslOptions = endpoint.getHttpClientSslOptions();
- if (HTTPS_SCHEME.equalsIgnoreCase(target.getScheme())) {
+ if (HTTPS_SCHEME.equalsIgnoreCase(target.getScheme()) || WSS_SCHEME.equalsIgnoreCase(target.getScheme())) {
// Configure SSL
httpClientOptions.setSsl(true);
