1
00:00:00,480 --> 00:00:06,930
Now, let us view the package and create the private key, so we will go into our master system and

2
00:00:06,930 --> 00:00:11,610
we are in this /etc/httpd/conf.d directory.

3
00:00:11,940 --> 00:00:19,570
So we are going to run this command rpm -q openssl whether that package is there.

4
00:00:19,920 --> 00:00:25,110
Yes, that package is there because we installed it during the lab setup.

5
00:00:25,650 --> 00:00:27,360
So mod_ssl.

6
00:00:28,290 --> 00:00:30,010
So that package is also available.

7
00:00:30,270 --> 00:00:39,810
Now what we are going to do, openssl is the command that is going to use for creating the key.

8
00:00:40,020 --> 00:00:47,580
So we are specifying that genrsa key then we are going to say that name of our key is going to

9
00:00:47,580 --> 00:00:49,520
be master key.

10
00:00:53,140 --> 00:01:01,550
And then we are going to specify the length of the key, 1024, so it has created the key with the

11
00:01:01,670 --> 00:01:11,550
ls command we can view that this key has been created, master.key then we can in this way.

12
00:01:11,560 --> 00:01:18,160
Also, we can look at the details, then we can view the key, although this is not recommended practice

13
00:01:18,160 --> 00:01:22,660
because this should be kept secret, it should not be displayed.

14
00:01:22,810 --> 00:01:31,870
But here, this is the key beginning RSA key so that that mean we are able to successfully create

15
00:01:31,870 --> 00:01:35,200
the key and we were able to view the key also.
