6 releases (breaking)

0.9.0 Apr 28, 2022
0.8.0 Apr 28, 2022
0.7.0 Oct 26, 2021
0.6.0 Oct 24, 2021
0.1.0 Jun 29, 2020

#1309 in Cryptography

Download history 980/week @ 2024-08-23 743/week @ 2024-08-30 731/week @ 2024-09-06 1303/week @ 2024-09-13 1402/week @ 2024-09-20 956/week @ 2024-09-27 912/week @ 2024-10-04 1067/week @ 2024-10-11 899/week @ 2024-10-18 1362/week @ 2024-10-25 1768/week @ 2024-11-01 1732/week @ 2024-11-08 2050/week @ 2024-11-15 1148/week @ 2024-11-22 674/week @ 2024-11-29 854/week @ 2024-12-06

5,176 downloads per month
Used in 16 crates (6 directly)

MIT/Apache

19KB
469 lines

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.


lib.rs:

Utilities to generate keys for tests.

Uses OpenSSL command line utility to generate the certificates.

Dependencies

~5–14MB
~184K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy