Skip to content

Refresh expired wolfSSL example CA certs and add a refresh script - #601

Open
aidangarske wants to merge 1 commit into
wolfSSL:masterfrom
aidangarske:refresh-wolfssl-example-ca-certs
Open

Refresh expired wolfSSL example CA certs and add a refresh script#601
aidangarske wants to merge 1 commit into
wolfSSL:masterfrom
aidangarske:refresh-wolfssl-example-ca-certs

Conversation

@aidangarske

Copy link
Copy Markdown
Member

certs/wolf-ca-rsa-cert.pem and certs/wolf-ca-ecc-cert.pem expired on Sep 8 2026 22:19 GMT updates cert - update the CA certs so CI doesnt fail

@aidangarske
aidangarske requested a review from dgarske September 9, 2026 01:29
Copilot AI lite review requested due to automatic review settings September 9, 2026 01:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The refresh script’s default WOLFSSL_DIR resolution is cwd-dependent (can break when invoked from outside the repo root), and the new script may not be included in dist artifacts despite being referenced in the README.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR refreshes the bundled wolfSSL example CA certificates used by wolfTPM’s TLS examples (to avoid failures due to expiration) and adds a helper script so contributors can refresh them from a local wolfSSL checkout.

Changes:

  • Updated the bundled wolfSSL example CA certs (wolf-ca-rsa-cert.pem, wolf-ca-ecc-cert.pem) to non-expired versions.
  • Added certs/refresh-wolf-ca.sh to copy refreshed CA certs from a wolfSSL checkout.
  • Documented the refresh script usage in examples/README.md.
File summaries
File Description
examples/README.md Documents how to refresh the bundled wolfSSL example CA certs via the new script.
certs/wolf-ca-rsa-cert.pem Replaces the expired RSA example CA cert with a renewed one.
certs/wolf-ca-ecc-cert.pem Replaces the expired ECC example CA cert with a renewed one.
certs/refresh-wolf-ca.sh Adds a script to refresh the bundled CA certs from a wolfSSL checkout.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread certs/refresh-wolf-ca.sh
Comment on lines +14 to +16
WOLFSSL_DIR="${WOLFSSL_DIR:-../wolfssl}"
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)

Comment thread examples/README.md
Comment on lines +174 to +175
Or run `./certs/refresh-wolf-ca.sh` (set `WOLFSSL_DIR` if wolfSSL is not
at `../wolfssl`) to refresh them when they expire.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants