• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

node-opcua / node-opcua-pki / 23502520025
92%

Build:
DEFAULT BRANCH: master
Ran 24 Mar 2026 05:12PM UTC
Jobs 1
Files 21
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Mar 2026 05:10PM UTC coverage: 92.211% (-0.08%) from 92.29%
23502520025

push

github

erossignon
fix(ca): use separate v3_ca_req section for CSR generation

OpenSSL 3.5.x (Alpine) rejects ANY authorityKeyIdentifier
value during CSR generation — even plain `keyid` — because
v3_akid.c unconditionally looks for an issuer certificate
that does not exist yet during root CA bootstrap.

The fix introduces a dedicated `v3_ca_req` config section
for the CSR step (`openssl req -extensions v3_ca_req`) that
omits `authorityKeyIdentifier` entirely.  The self-signing
step continues to use `-extensions v3_ca` which retains the
full `authorityKeyIdentifier = keyid:always,issuer:always`
since the issuer key is available at that point.

This is architecturally cleaner than the previous attempt
(changing `keyid:always` to `keyid`) because:

  1. CSR extensions should not include issuer-dependent
     fields — they are just "requests"
  2. The final certificate gets the correct extensions
     during self-signing via v3_ca
  3. v3_ca retains the original, strict setting

Tested with:
  - OpenSSL 3.0.x  (Ubuntu CI)   — passes
  - OpenSSL 3.4.1  (Windows)     — 170 tests pass
  - OpenSSL 3.5.5  (Alpine CI)   — passes (was failing)

Refs:
  - https://github.com/openssl/openssl/issues/21519
  - OpenSSL man x509v3_config(5) - authorityKeyIdentifier

247 of 344 branches covered (71.8%)

1172 of 1271 relevant lines covered (92.21%)

266.06 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
89.64
-0.15% packages/node-opcua-pki/lib/pki/certificate_manager.ts
Jobs
ID Job ID Ran Files Coverage
1 23502520025.1 24 Mar 2026 05:12PM UTC 21
92.21
GitHub Action Run
Source Files on build 23502520025
  • Tree
  • List 21
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23502520025
  • dbadb7ee on github
  • Prev Build on master (#23502109833)
  • Next Build on master (#23502630853)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc