Comments (4)
just a note: there is ":" instead of "=" on the 2nd and third property. Just in case you missed it.
from grpc-spring.
Thanks for noting this, I will check.
from grpc-spring.
I checked the code and certificatePath
actually refers to the privateKeyPath
.
AFAICT a certificate is just a public key with some metadata that is send to the client, so that he can encrypt the bytes with it. The server then needs the private key to decrypt those bytes. The certificate chain is used to verify whether the server is trustworthy by checking if at least one certificate in that chain is trusted by the client.
I'm not sure whether you can write Spring properties using kebab-case
the properties are spelled like this:
grpc.server.security.enabled
grpc.server.security.certificateChainPath
grpc.server.security.certificatePath
and can be assigned like this in properties file:
key=value
Other combinations/cases might work as well, but I haven't checked which of them actually do.
In YAML other ways might be possible.
You can read more about that here: https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html
from grpc-spring.
I assume the underlying issue is fixed with the property being renamed and the additional docs.
I guess this issues can be closed now.
from grpc-spring.
Related Issues (20)
- Is there a time line for v3.0.0 release HOT 1
- A service registers multiple instances on consul through coding. Why can grpc only call the service configured in the configuration file. HOT 1
- 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
- Constructor injects bean "array out of bounds exception" use @Qualifier HOT 2
- Support the gRPC metrics defined in gRFC A66.
- How to cancel server request execution as soon as a client cancels a request due to a timeout for example? HOT 2
- How to active create stubs without explicit declarations @GrpcClient("clientName") HOT 3
- Allow creation of meta annotation with @GrpcClient HOT 3
- `GrpcClientMetricAutoConfiguration` breaks system metrics HOT 1
- Error creating bean with name 'grpcHealthService' HOT 5
- Connection closed by server after 20s vs. keep-alive
- Add userAgent property to GrpcChannelProperties HOT 1
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.