Skip to content

Conversation

@siacomuzzi
Copy link
Contributor

@siacomuzzi siacomuzzi commented Jun 24, 2025

You can now provide intermediate certificates as an array of PEM strings or Uint8Arrays, or simply include all of them in a single PEM block (useful if you are reading the chain from a PEM file):

const issuerCertificate = `-----BEGIN CERTIFICATE-----
<YOUR_ISSUER_CERT>
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
<YOUR_FIRST_INTERMEDIATE_CERT>
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
<YOUR_SECOND_INTERMEDIATE_CERT>
-----END CERTIFICATE-----`;

closes #38

@siacomuzzi siacomuzzi marked this pull request as ready for review June 25, 2025 08:16
@jfromaniello jfromaniello merged commit b7a2c4b into main Jun 26, 2025
1 check passed
@github-actions
Copy link

🎉 This PR is included in version 2.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issuer intermediate certificates

3 participants