Linux | Add self signed certificate to trusted store

  • Post author:
  • Reading time:3 mins read
  • Post category:Linux
  • Post comments:0 Comments
Table Of Contents

Certificate Installation

A quick one today.

This is basically the same thing as in the MinIO (Part 2) post. But this way it’s more accessible.

How to add a self signed certificate to the trusted store on a linux server.

Install the package if does not exist already.

fedora-kde :: ~ » sudo dnf install ca-certificates

Copy your certificate to the PKI folder.

fedora-kde :: ~ » sudo cp certificate.cer /etc/pki/ca-trust/source/anchors/

Execute the command to add the certificate.

fedora-kde :: ~ » sudo update-ca-trust extract

And that is it.

Till next time.

Leave a Reply