rcssl

Crates.iorcssl
lib.rsrcssl
version0.2.1
created_at2024-12-22 23:04:48.190798+00
updated_at2025-01-09 22:09:30.791205+00
descriptionA Rust library for generating X.509 certificates with support for CA, server, client and peer certificate profiles.
homepage
repositoryhttps://github.com/auser/rcssl
max_upload_size
id1492350
size200,927
Ari (auser)

documentation

README

Certificate Generator

A Rust library for generating X.509 certificates with support for CA, server, client and peer certificate profiles.

Features

  • Generate CA certificates
  • Generate server/client/peer certificates signed by CA
  • Configurable certificate options including:
    • Common name
    • Subject Alternative Names (SANs)
    • Organization details
    • Validity period
    • Key usage and extended key usage
  • Uses ECDSA P-256 keys with SHA-256
  • PEM format output
  • Filesystem-based certificate storage

Usage

rcssl generate --config ./config.yaml

To see all the options, run rcssl generate --help.

Configuration

The configuration file is a YAML file that defines the certificates to be generated.

See the config.yaml file for an example.

Commit count: 38

cargo fmt