Skip to content

Commit

Permalink
Solved grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eperinan committed Mar 13, 2018
1 parent 19b9916 commit 3f1dc6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/tut/core-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ We'll see more details about these and other annotations in the following sectio

## Compression

[frees-rpc] allows you to compress the data whose we are sending in our services. We can enable this compression either on the server or client side.
[frees-rpc] allows us to compress the data we are sending in our services. We can enable this compression either on the server or the client side.

[frees-rpc] supports only `Gzip` as compression format so far and the usage it's really easy.
[frees-rpc] supports `Gzip` as compression format.

On the server side, we only have to add the annotation `Gzip` in our defined services.

Expand Down
6 changes: 3 additions & 3 deletions docs/src/main/tut/ssl-tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ permalink: /docs/rpc/ssl-tls

> [gRPC](https://grpc.io/docs/guides/auth.html) has SSL/TLS integration and promotes the use of SSL/TLS to authenticate the server, and encrypt all the data exchanged between the client and the server. Optional mechanisms are available for clients to provide certificates for mutual authentication.
[frees-rpc] allows you to encrypt the connection between the server and the client through SSL/TLS. The main goal of use SSL is protect your sensitive information and keeps your data secure between servers and clients.
[frees-rpc] allows you to encrypt the connection between the server and the client through SSL/TLS. The main goal of using SSL is to protect your sensitive information and keeps your data secure between servers and clients.

As we mentioned in the [Quickstart](/docs/rpc/quickstart) section, we can choose and configure our client with `okhttp` or `netty` but if we want to encrypt our service, it's mandatory to use `Netty`.
As we mentioned in the [Quickstart](/docs/rpc/quickstart) section, we can choose and configure our client with `OkHttp` or `Netty` but if we want to encrypt our service, it's mandatory to use `Netty`.

[frees-rpc] only supports encryptation over *Netty*.

## Requirements

On the server and client side, we will need two files to configure the `SslContext` in `gRPC`:

* Server certificate file: Small data files that digitally bind a cryptographic key to an organization’s details. This file could be generated or get from a third company.
* Server certificate file: Small data files that digitally bind a cryptographic key to an organization’s details. This file could be generated or obtained from a third company.

* Server private key file: The private key is a separate file that is used in the encryption of data sent between your server and the clients. All SSL certificates require a private key to work.

Expand Down

0 comments on commit 3f1dc6b

Please sign in to comment.