package
6.0.0-beta.10+incompatible
Repository: https://github.com/nuts-foundation/nuts-node.git
Documentation: pkg.go.dev

# README

Contents

This folder contains some basic certificates that can be used to test the Nuts node

  • a truststore with a single CA: truststore.pem
  • a valid certificate with a key: certificate-and-key.pem
  • an invalid certificate: invalid-cert.pem

Expired certificate(s)?

Regenerate using

sh generate.sh

# Functions

Certificate returns a valid test certificate.
CertificateFile returns the path to a file containing a valid test certificate and its key.
InvalidCertificate returns an invalid test certificate.
InvalidCertificateFile returns the path to a file containing an invalid test certificate and its key.
Truststore returns a test truststore.
TruststoreFile returns the path to a file containing a test truststore.

# Variables

CertificateData contains the PEM-encoded test certificate and its key.
InvalidCertificateData contains the PEM-encoded invalid test certificate and its key.
TruststoreData contains the PEM-encoded test truststore.