Files
tonic/tonic-interop/data
James NugentandLucio Franco ed53be5779 Use rustls for interop tests (#125)
* Use rustls for interop tests

This commit changes the interop tests to use rustls instead of openssl.
Apparently in the past there was some issue with this, but it seems to
work OK to me.

* Use certificates with larger key sizes for interop

This commit switches out the certificates used for testing interop to be
based on 4096-bit RSA keys, allowing rustls to be used for the interop
testing instead of OpenSSL.

The keys are generated using Terraform, although the state file is not
committed. A README.md is added to the data directory that explains how
to use Terraform to rotate the test certificates if this is ever
desirable.

This is desirable in order that none of the crates which `cargo build
--all` will build have the `openssl` feature, which should allow Tonic
to build on Windows with no issues.
2019-11-09 17:00:23 +00:00
..
2019-11-09 17:00:23 +00:00
2019-11-09 17:00:23 +00:00

Tonic Testing Certificates

This directory contains certificates used for testing interop between Tonic's implementation of gRPC and the Go implementation. Certificates are generated using terraform.

To regenerate certificates for some reason, do the following:

  1. Install Terraform 0.12 (or higher)
  2. From the cert-generator directory, run:
    1. terraform init
    2. terraform apply

This will generate certificates and write them to the filesystem. The effective version should be committed to git.