From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Generating key pairs and self-signed certificates

Generating key pairs and self-signed certificates

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Generating key pairs and self-signed certificates

- [Instructor] Before we can create a secure website we need to create a self-signed certificate. In the RHCE exam, you will be given a key and certificate but knowing the process of creating your own can help with understanding SSL and HTTPS. For this exercise, you need to be logged into RH host one and have a terminal open. You also need to have installed Maude undergrads SSL and open SSL. Start by changing into the certificates directory by typing in cd, space slash etc slash pki, slash tls, slash certs and hit enter. You should be able to do this as a normal user. Now let's generate the RSA private key. Type in sudo space, openssl space gen pkey, space dash algorithm, space rsa, space dash pkey opt, space rsa underscore keygen underscore bits, colon 2048 space dash out, space secured.localnet.com dot key and hit enter. Type in your password if prompted. This should create a key…

Contents