1
00:00:00,390 --> 00:00:06,270
Now, let us view the packages that are needed for implementing the https and for creating the private

2
00:00:06,270 --> 00:00:13,110
key, so the first package that is required is your openssl, we will verify with rpm command whether

3
00:00:13,120 --> 00:00:15,000
that package is there or not.

4
00:00:15,480 --> 00:00:18,350
So we will find out that the package is there.

5
00:00:18,390 --> 00:00:22,300
Then we will require another package, mod_ssl.

6
00:00:22,440 --> 00:00:28,500
If in your case these packages are not available, then please install it by using the yum install open

7
00:00:28,500 --> 00:00:32,310
ssl and then space mod_ssl.

8
00:00:32,320 --> 00:00:35,400
In our case during lab setup, we install these packages.

9
00:00:35,700 --> 00:00:42,300
Now we are going to create the private key for that command is openssl genrsa.

10
00:00:42,450 --> 00:00:45,870
That mean RSA type of key will be generated.

11
00:00:46,020 --> 00:00:50,660
Then we are going to specify -out name of our key.

12
00:00:50,700 --> 00:00:58,400
We are specifying the name as our master.key and how much bit the length of the key should be.

13
00:00:58,470 --> 00:01:01,070
We are specifying it 1024.

14
00:01:01,740 --> 00:01:06,870
So then when we are going to run this command ls what will happen?

15
00:01:06,870 --> 00:01:13,010
It will show us that your master.key file is available and we can verify with ls -a.

16
00:01:13,950 --> 00:01:19,100
And what are the permission of that file and what is the size of that file.

17
00:01:19,380 --> 00:01:22,440
It is 891.

18
00:01:22,890 --> 00:01:30,480
So then we can view that file also, although not need and please, you have to keep this file secret.

19
00:01:30,690 --> 00:01:37,050
You are not going to show that, but just for understanding purposes, how this keys look like.

20
00:01:37,050 --> 00:01:41,060
So we are showing you that private key, also how it looks.

21
00:01:41,400 --> 00:01:42,630
So it is a big one.

22
00:01:43,050 --> 00:01:43,530
string is there.

23
00:01:44,490 --> 00:01:45,720
So let us now.

24
00:01:45,720 --> 00:01:50,100
verify the package and create the your private key
