Comments (2)
What i see that NettyGrpcServerFactory has that option -
grpc.server.security.enabled=true
grpc.server.security.certificate-chain-path=
grpc.server.security.certificate-path=
But since I am running spring boot app as a jar [default tomcat container] its not able to read the classpath certificates - is it working for you ?
if (this.properties.getSecurity().getEnabled().booleanValue()) {
File certificateChain = new File(this.properties.getSecurity().getCertificateChainPath());
File certificate = new File(this.properties.getSecurity().getCertificatePath());
builder.useTransportSecurity(certificateChain, certificate);
}
from grpc-spring.
This is working for me if I am specifying absolute path for the certificates on the servers. And also had to shuffle GRPC jars at the top before other jars which helped me to get it working
from grpc-spring.
Related Issues (20)
- Russian translation of docs HOT 6
- manen repository home page HOT 1
- When grpc client is deployed in Kubernetes, what is the usecase of HealthIndicator (actuator/health) that reports the service as OUT_OF_SERVICE if any client has the TRANSIENT_FAILURE status?
- Docs in GrpcChannelProperties not clear about `dns` scheme and have minor other problems HOT 6
- GRPC client fails to start in Spring Cloud environment HOT 13
- A question about Grpc load balancing and long connections HOT 3
- Micrometer throws ArrayIndexOutOfBoundsException exception when the grpc client cannot access a backend with metrics enabled. HOT 2
- Replace obsolete @PostConstruct annotation or implement InitializingBean HOT 1
- Apply grpc service config from consul HOT 1
- Error starting up grpc server in an existing project that uses spring HOT 2
- this dependency seems to be incompatible with new version 3.x of spring boot. HOT 4
- Spring boot with GRPC server blocking GRPC client request HOT 7
- When spring-boot-starter-actuator was introduced, a bug appeared HOT 3
- Caused by: java.lang.NoSuchFieldError: MTLS HOT 1
- HTTP/2 client preface string missing or corrupt HOT 5
- Received grpc requests twice HOT 3
- grpc ๆญฃๅไปฃ็
- Spring Security AccessDecisionManager is deprecated. What's the alternative? HOT 1
- SSLContextGrpcAuthenticationReader reads the wrong certificate from the peer certificates array HOT 2
- [Docs] gRPC-Spring-Boot-Starter Documentation: Getting Started - Project Setup (Server and Client) Exhibitory Imagery HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpc-spring.