Adds support for 'use-insecure-trust-manager' & 'trustedX509Certificates' for GRPC Filter

* Generated certificate with domain name (required for 'trustedX509Certificates')
* Injected SslProperties in GRPC components to configure SslContext (ideally we want to reuse, not replicate, SCG context)
This commit is contained in:
Abel Salgado Romero
2022-08-08 14:35:30 +02:00
committed by spencergibb
parent 22a9aec8bf
commit 774975a0fe
21 changed files with 678 additions and 506 deletions

View File

@@ -1894,7 +1894,7 @@ spring:
When a request is made through the gateway to `/json/hello` the request will be transformed using the definition provided in `hello.proto`, sent to `com.example.grpcserver.hello.HelloService/hello`, and transform the response back to JSON.
By default, it will create a `NettyChannel` using the default `TrustManagerFactory`. However, this `TrustManager` can be customized by creating a bean of type `GRPCSSLContext`:
By default, it will create a `NettyChannel` using the default `TrustManagerFactory`. However, this `TrustManager` can be customized by creating a bean of type `GrpcSslConfigurer`:
[source,java]
----