Linux Centos8 Create CA Certificate Tutorial

Linux Centos8 Create CA Certificate Tutorial

Install Required Files

Yum install openssl-* -y

Create database index files

Enter the certificate serial number as 01

Generate a private key file

Create a CA certificate using a private key

openssl req -new -x509 -key /etc/pki/CA/private/cakey.pem -days 3650 -out /etc/pki/CA/cacert.pem

Issue a certificate to the user (taking the /data/skills directory as an example)

Apply for a private key

Apply for a certificate using the requested private key file

openssl -req -new -key /data/skills/skills.key -out /data/skills/skills.csr

Create a certificate using the csr just now

openssl ca -in /data/skills/skills.csr -out /etc/pki/CA/certs/skills.crt -days

Check the validity of the certificate

openssl ca -status 01 shows the following success

Transfer the parent ca and ca to Windows

Trust

This is the end of this article about the tutorial on how to create a CA certificate in Centos8 on Linux. For more information about how to create a CA certificate in Centos8, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • How to deploy nginx SSL certificate under CentOS 6.7
  • Generate OpenSSL certificates in Linux environment
  • How to add self-signed certificate TLS to Nginx in Linux
  • How to configure SSL certificate for Nginx under Linux

<<:  Graphical explanation of the solutions for front-end processing of small icons

>>:  Solution to the problem of child element margin-top causing parent element to move

Recommend

jQuery implements the mouse drag image function

This example uses jQuery to implement a mouse dra...

HTML imitates Baidu Encyclopedia navigation drop-down menu function

HTML imitates the Baidu Encyclopedia navigation d...

Let's talk about destructuring in JS ES6

Overview es6 adds a new way to get specified elem...

HTML+CSS to create heartbeat special effects

Today we are going to create a simple heartbeat e...

Usage of mysql timestamp

Preface: Timestamp fields are often used in MySQL...

Mysql 5.7.18 Using MySQL proxies_priv to implement similar user group management

Use MySQL proxies_priv (simulated role) to implem...

Super detailed MySQL usage specification sharing

Recently, there have been many database-related o...

Detailed steps to install RabbitMQ in docker

Table of contents 1. Find the mirror 2. Download ...

docker logs - view the implementation of docker container logs

You can view the container logs through the docke...

Detailed explanation of the usage of the alias command under Linux

1. Use of alias The alias command is used to set ...

Remote Desktop Connection between Windows and Linux

When it comes to remote desktop connection to Lin...