test-cert-gen

Crates.iotest-cert-gen
lib.rstest-cert-gen
version0.9.0
sourcesrc
created_at2020-06-29 01:17:00.950324
updated_at2022-04-28 16:23:49.039669
descriptionUtility to generate certificates for tests (e. g. for TLS)
homepage
repository
max_upload_size
id259263
size22,339
Stepan Koltsov (stepancheg)

documentation

README

GitHub Workflow Status License crates.io

test-cert-gen

Utility to generate certificates for tests.

test_cert_gen::gen_keys()

returns:

  • server certificate and private key pair in DER or PKCS12 format
  • CA DER file to be used on the client

This is typically enough to configure a TLS server and client for unit/integration tests.

Certificates are generated with openssl command.

Generated certificates expire in a day.

Commit count: 0

cargo fmt