test-cert-gen-2

Crates.iotest-cert-gen-2
lib.rstest-cert-gen-2
version0.12.0
sourcesrc
created_at2024-05-07 20:09:27.100943
updated_at2024-11-25 13:40:59.36163
descriptionUtility to generate certificates for tests (e. g. for TLS)
homepage
repositoryhttps://github.com/edgedb/rust-tls-api/
max_upload_size
id1232834
size24,973
Aljaž Mur Eržen (aljazerzen)

documentation

README

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: 402

cargo fmt