rpmbuild-internal-ca-certif.../README.md
2024-08-25 22:19:29 +10:00

1.2 KiB
Raw Permalink Blame History

RPMBuild: internal-ca-certificates

Overview

This project provides an RPM package that installs self-signed CA certificates into the system's trusted certificate store. The RPM package places the certificates in the appropriate directory and automatically updates the system's CA trust to recognise the new certificates.

Features

  • Automated Installation: Copies your self-signed CA certificates to the systems trusted CA directory (/etc/pki/ca-trust/source/anchors/).
  • Automatic Trust Update: Runs update-ca-trust post-installation to refresh the CA trust database, ensuring that the new certificates are recognized by the system.

How to Build the RPM

  1. Prepare the Environment:

    • Place your .crt files in the certificates/ directory.
    • Ensure Makefile and internal-ca-certificates.spec are in the project root directory.
  2. Build the RPM:

    • Run make in the terminal from the root directory of the project.
    • The RPM package will be created in the rpmbuild/RPMS/noarch/ directory.
  3. Install the RPM:

    • Use rpm -ivh path/to/internal-ca-certificates-1.0-1.noarch.rpm to install the RPM on your system.