diff options
author | Tor Brede Vekterli <vekterli@verizonmedia.com> | 2020-02-20 12:03:41 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@verizonmedia.com> | 2020-02-20 14:23:24 +0000 |
commit | ae87223307b0fe3294e27d86719c3acb702ffed6 (patch) | |
tree | f7e4da24416919f2f2754cac3ad208e8baf6efc3 /container-integration-test | |
parent | acfb0463e55aa4878cc3087ffcee356696eabf2a (diff) |
Move crypto utility code out into vespalib and use for test credentials
Currently offers only the following functionality:
* Generate P-256 EC private keys and export to PEM
* Generate X509 certificates and export to PEM
Instead of using hardcoded private key/certs for unit tests, use crypto
utility code to generate new credentials once per test process. Since
these certs now use a SAN of `localhost` it also means we no longer need
to disable hostname validation for networked unit tests.
Diffstat (limited to 'container-integration-test')
0 files changed, 0 insertions, 0 deletions