https://github.com/michaelforney/x509cert
Tool and library for generating X.509 certificates and certificate requests (mirror)
https://github.com/michaelforney/x509cert
bearssl tls x509
Last synced: 6 months ago
JSON representation
Tool and library for generating X.509 certificates and certificate requests (mirror)
- Host: GitHub
- URL: https://github.com/michaelforney/x509cert
- Owner: michaelforney
- License: isc
- Created: 2021-05-02T02:25:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-13T22:08:37.000Z (almost 4 years ago)
- Last Synced: 2025-03-27T04:12:23.609Z (6 months ago)
- Topics: bearssl, tls, x509
- Language: C
- Homepage: https://sr.ht/~mcf/x509cert
- Size: 197 KB
- Stars: 16
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# x509cert
[](https://builds.sr.ht/~mcf/x509cert)
x509cert is a tool and library for generating X.509 certificates
and certificate requests. It is written in C99 and uses [BearSSL]
to decode keys and compute signatures.Like BearSSL, libx509cert makes minimal use of the standard library.
It does not do any dynamic allocation, and uses only a few basic
libc functions.## Tool usage
x509cert [-C] [-a altname]... [-c issuercert] [-k issuerkey] [-b notbefore] [-d duration] [-s serial] key [subject]
x509cert -r [-a altname]... key [subject]If `-r` is used, a PKCS#10 CertificateRequest is created. Otherwise,
an X.509 Certificate is created. In either case, the structure is
PEM-encoded and written to standard output. For more details, see
[x509cert(1)].## Library usage
See [x509cert(3)].
[BearSSL]: https://bearssl.org
[x509cert(1)]: https://x509cert.mforney.org/x509cert.1.html
[x509cert(3)]: https://x509cert.mforney.org/x509cert.3.html