This repository contains examples to show how to use the OpenSSL C API.
cmake -B build
cmake --build build
./build/create_test_pki
Abbreviation | Description |
---|---|
X.509 | A standard defining the format of public key certificates |
CA | Certificate Authority |
CSR | Certificate Signing Request |
CRL | Certififcate Revocation List |
CMS | Cryptographic Message Syntax |
PKI | Public Key Infrastructure |
- compute SHA256 checksumn
- create a self-signed certficate
- create a certificate signing request (CSR)
- sign a CRS
- create a certificate revokation list (CRL)
- verify a certificate
- create a digital signature using cryptographic message syntax (CMS)
- verify a CMS signature
- Some of the examples make use of a test PKI.
- The purpose of this repository is to give an overview about OpenSSL's C API. Therefore, there is almost no error handling contained in the examples.
- OpenSSL>3.0