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:
committed by
spencergibb
parent
22a9aec8bf
commit
774975a0fe
@@ -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]
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user