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
From the course: Red Hat Enterprise Linux 8 Essential Training
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
Web services introduction44s
-
(Locked)
Install and configure Apache4m 47s
-
(Locked)
Manage SELinux for web services3m 22s
-
(Locked)
Configure a basic Apache web server2m 6s
-
(Locked)
Configure access control on directories2m 2s
-
(Locked)
Configure private access using basic auth7m 24s
-
(Locked)
Configure group-managed content7m 32s
-
(Locked)
Configure a virtual host5m 36s
-
(Locked)
Configure a virtual host on a nonstandard port6m 5s
-
(Locked)
Configure a secure virtual host4m 24s
-
Deploy a basic CGI application2m 24s
-
(Locked)
Generating key pairs and self-signed certificates4m 28s
-
(Locked)
Challenge: Web services private site53s
-
(Locked)
Solution: Web services private site6m 25s
-
(Locked)
Deploy a basic CGI application2m 13s
-
-
-
-
-
-