1
00:00:00,360 --> 00:00:05,110
Now we want to verify the https access for that, what we are going to do.

2
00:00:05,820 --> 00:00:13,410
We will be using one utility openssl s_client then we will say -connect www.example.com

3
00:00:13,950 --> 00:00:15,540
with which port 443.

4
00:00:15,810 --> 00:00:21,060
because this is going to generate a lot of output, we are just interested in first six line

5
00:00:21,420 --> 00:00:23,250
when we are going to run this command.

6
00:00:23,280 --> 00:00:30,660
It is going to show us the information that will country, state, then location, then the company's

7
00:00:30,660 --> 00:00:34,880
name organization unit and then comman name, email address.

8
00:00:35,130 --> 00:00:40,830
Then it is going to show that it is self-signed certificate, that mean it will give you the idea

9
00:00:40,830 --> 00:00:45,020
that our client is able to read that information.

10
00:00:45,450 --> 00:00:49,690
So let us go into that our C10 client.

11
00:00:51,300 --> 00:00:55,770
So from that, what we are going to do, we are going to run the command.

12
00:00:56,130 --> 00:00:59,460
What is the command that is openssl

13
00:01:01,550 --> 00:01:11,660
then we are saying s_client, then we are going to say connect.

14
00:01:15,160 --> 00:01:19,830
Then we are going to specify the www.example

15
00:01:22,650 --> 00:01:30,930
.com, because https works on 443 ports, so we have to specify normal webserver works on 80 port.

16
00:01:30,990 --> 00:01:35,100
then we are going to say head -6.

17
00:01:37,300 --> 00:01:40,000
So it is giving us useful information.

18
00:01:41,200 --> 00:01:46,720
So that mean you can use openssl client for testing.

19
00:01:46,750 --> 00:01:53,620
That means it is able to read the certificate, but we want to use the browsers also so we will see

20
00:01:53,650 --> 00:01:57,970
how to verify the access by using the browser also.
