Lamassu IoT Docs

PKI getting started

Create a CA, issue a client certificate and check its chain and key.

This path is intended for those starting to administer PKI or needing a first X.509 client identity. It ends with three files: a root CA certificate, an end-entity certificate and the client's private key.

Before you begin

  • A Lamassu instance accessible from your browser. To prepare one, see Deployment.
  • Permission to manage keys, authorities and issuance. See Access control if an operation is blocked.
  • An available cryptographic engine for the CA key; check the keys and engines inventory.
  • OpenSSL 3.x on the computer where you will verify the files.
  • A working directory with restricted access for the downloaded key.

We use Acme Evaluation Root CA and device-001 as example names. If you replace them, keep the same client identifier in the steps you want to connect.

The root in this path signs the end-entity certificate directly to simplify evaluation. Before designing an operational PKI, review the trust model and CA hierarchy.

Expected result

File or resourceCheck
Active root CA and ca.pemIt is a CA certificate, is currently valid and its self-signature verifies.
End-entity certificate and device.crtIt identifies device-001, supports client authentication and verifies against ca.pem.
Private key device.keyIts public key matches the one included in device.crt.

These checks validate the issued material. Acceptance by a service also requires its trust, authorization and revocation configuration.

Continue according to your goal

On this page