A trusted CA certificates generator for BearSSL applications, providing a ready-to-use C source file with trusted root certificates.
File | Version | Date |
---|---|---|
BearSSLTrustedAnchors.c | 2025-8-6 | 2025/08/06 |
This project generates trusted anchor certificates for BearSSL from the official Mozilla CA certificate bundle. The generated C source file contains all trusted root certificates in a format that can be directly compiled into BearSSL applications.
The trusted anchors are generated from:
- Source: Mozilla CA Certificate Bundle
- URL: https://curl.se/ca/cacert.pem
- Tool:
brssl
from BearSSL
To generate an updated certificate file:
sh generator.sh
This script will:
- Download the latest CA certificate bundle from Mozilla
- Convert it to BearSSL format using the
brssl
tool - Generate the
BearSSLTrustedAnchors.c
file
- BearSSL tools (
brssl
) curl
orwget
for downloading certificatesbash
shell