Package the internal ca-certificates
Go to file
2024-08-26 22:26:46 +10:00
certificates feat: setup deployment 2024-08-25 23:26:38 +10:00
.drone.yml Merge pull request 'fix: enable ci secrets' (#4) from neoloc/ci_token into master 2024-08-26 22:26:46 +10:00
internal-ca-certificates.spec feat: setup deployment 2024-08-25 23:26:38 +10:00
Makefile feat: setup deployment 2024-08-25 23:26:38 +10:00
README.md Initial commit 2024-08-25 22:19:29 +10:00

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.