Video - Create Self Signed Certificate and Bind in IIS

12 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€92.81
List Price:  €129.94
You save:  €37.13
£79.68
List Price:  £111.56
You save:  £31.87
CA$136.70
List Price:  CA$191.38
You save:  CA$54.68
A$151.47
List Price:  A$212.07
You save:  A$60.59
S$134.88
List Price:  S$188.84
You save:  S$53.96
HK$781.18
List Price:  HK$1,093.68
You save:  HK$312.50
CHF 90.49
List Price:  CHF 126.69
You save:  CHF 36.20
NOK kr1,087.35
List Price:  NOK kr1,522.33
You save:  NOK kr434.98
DKK kr692.92
List Price:  DKK kr970.11
You save:  DKK kr277.19
NZ$166.33
List Price:  NZ$232.87
You save:  NZ$66.53
د.إ367.25
List Price:  د.إ514.16
You save:  د.إ146.91
৳10,943.35
List Price:  ৳15,321.13
You save:  ৳4,377.77
₹8,337.18
List Price:  ₹11,672.39
You save:  ₹3,335.20
RM473.95
List Price:  RM663.55
You save:  RM189.60
₦123,487.65
List Price:  ₦172,887.65
You save:  ₦49,400
₨27,738.77
List Price:  ₨38,835.40
You save:  ₨11,096.62
฿3,675.50
List Price:  ฿5,145.85
You save:  ฿1,470.34
₺3,235.04
List Price:  ₺4,529.19
You save:  ₺1,294.14
B$509.60
List Price:  B$713.47
You save:  B$203.86
R1,850.72
List Price:  R2,591.08
You save:  R740.36
Лв181.51
List Price:  Лв254.13
You save:  Лв72.61
₩135,590.93
List Price:  ₩189,832.73
You save:  ₩54,241.80
₪370.74
List Price:  ₪519.05
You save:  ₪148.31
₱5,705.78
List Price:  ₱7,988.32
You save:  ₱2,282.54
¥15,303.96
List Price:  ¥21,426.16
You save:  ¥6,122.20
MX$1,697.07
List Price:  MX$2,375.96
You save:  MX$678.89
QR363.69
List Price:  QR509.19
You save:  QR145.49
P1,358.38
List Price:  P1,901.79
You save:  P543.40
KSh13,211.65
List Price:  KSh18,496.84
You save:  KSh5,285.18
E£4,788.95
List Price:  E£6,704.73
You save:  E£1,915.77
ብር5,723.72
List Price:  ብር8,013.44
You save:  ብር2,289.71
Kz83,591.64
List Price:  Kz117,031.64
You save:  Kz33,440
CLP$94,219
List Price:  CLP$131,910.38
You save:  CLP$37,691.37
CN¥723.64
List Price:  CN¥1,013.13
You save:  CN¥289.48
RD$5,794.19
List Price:  RD$8,112.10
You save:  RD$2,317.90
DA13,457.95
List Price:  DA18,841.67
You save:  DA5,383.72
FJ$225.30
List Price:  FJ$315.43
You save:  FJ$90.13
Q775.06
List Price:  Q1,085.12
You save:  Q310.05
GY$20,860.22
List Price:  GY$29,205.14
You save:  GY$8,344.92
ISK kr13,949.49
List Price:  ISK kr19,529.85
You save:  ISK kr5,580.35
DH1,005.73
List Price:  DH1,408.07
You save:  DH402.33
L1,766.28
List Price:  L2,472.87
You save:  L706.58
ден5,712.52
List Price:  ден7,997.75
You save:  ден2,285.23
MOP$802.57
List Price:  MOP$1,123.63
You save:  MOP$321.06
N$1,845.78
List Price:  N$2,584.16
You save:  N$738.38
C$3,670.67
List Price:  C$5,139.09
You save:  C$1,468.41
रु13,313.56
List Price:  रु18,639.52
You save:  रु5,325.95
S/372.22
List Price:  S/521.13
You save:  S/148.90
K385.44
List Price:  K539.63
You save:  K154.19
SAR375.02
List Price:  SAR525.04
You save:  SAR150.02
ZK2,689.66
List Price:  ZK3,765.63
You save:  ZK1,075.97
L462.03
List Price:  L646.86
You save:  L184.83
Kč2,326.92
List Price:  Kč3,257.79
You save:  Kč930.86
Ft36,152.68
List Price:  Ft50,615.20
You save:  Ft14,462.51
SEK kr1,078.64
List Price:  SEK kr1,510.15
You save:  SEK kr431.50
ARS$87,815.44
List Price:  ARS$122,945.14
You save:  ARS$35,129.69
Bs690.51
List Price:  Bs966.74
You save:  Bs276.23
COP$388,367.89
List Price:  COP$543,730.59
You save:  COP$155,362.69
₡50,962.55
List Price:  ₡71,349.61
You save:  ₡20,387.06
L2,463.20
List Price:  L3,448.58
You save:  L985.38
₲746,475.93
List Price:  ₲1,045,096.16
You save:  ₲298,620.23
$U3,821.56
List Price:  $U5,350.33
You save:  $U1,528.77
zł401.98
List Price:  zł562.79
You save:  zł160.80
Already have an account? Log In

Transcript

Greetings, I'm Professor Kay. And in this short video presentation, we're going to see how we go about creating a self signed certificate using IIS. To help keep the link to this video manageable, I'm going to ask that everyone refer to the lab file. For more information on why we would do a self signed certificate up in IIS, and what the advantages and the disadvantages are. For this demonstration, I will be using server 2016. But the procedure is exactly the same for server 2012.

Now I'm up inside of Server Manager and I'm going to need an installation of IIS. To begin this process. I'm going to click on Manage. I'm going to go to add Roles and Features. We're going to quickly step through the ones wizard until we get down to the required roles that we need. I've got the right server selected, we're going to go ahead and say next.

And here underneath the roles, I'm going to scroll on down till I come to web server IIS. I'm gonna check that box, we're going to add the features, and we're going to click Next, we're going to click Next. Again, here's some information about is we're going to click Next. On this next page, we see the additional role services we can install prior is, we don't need any so let's just click Next. Say next, and we're going to click on the install. But this begins the installation process for web services is installation has completed so I'm going to go ahead and click on the close button.

That brings us back to the Server Manager. We're now ready to begin the process of creating that self signed certificate. To do this, I'm going to go to Tools. And I'm going to scroll on down here to where it says Internet Information Services IIS Manager. We're going to click on that. That's going to open up up the IIS Management Console.

I've made the console window go fullscreen. And we're going to begin by clicking on the name of our server. Inside the center window, we're going to find server certificates. Once you've located server certificates, go ahead and just double click it over to the far right where it says actions, we're going to click on where it says create a self signed certificate. On his first page of the wizard, we need to come up with a user friendly name for our certificate. Now, I recommend that you think about how you're going to apply this certificate, and you name it so that you can easily recognize it.

So I'm going to call this one application underscore testing. Now this is going to be a personal certificate. If this was going to be assigned to a web server, then I would pull down the window and I would select web hosting. All we have to do now and just click on the OK button. And our certificate now appears in the center window pane. So the name of my self signed certificate is application underscore testing.

It was issued to DC one, and it was issued by DC one. Here's the expiration date, it's usually about a year out from the time the self signed certificate is issued. We're now ready to make our way to the certificate store so that we can view the certificate. Make sure you click inside the window of yours, server 2016. And now you're going to hold down the Windows key and hit r at the same time. This brings up the run line so that we can get to the certificate store we first need to get up inside of the Microsoft Management Console.

To do this, where it says open I'm going to type in an MC. I'm going to hit enter. That brings up the Microsoft Management Console. up inside of the Microsoft Management Console. We're going to go to File, we're going to go to add remove snap in. On this next window underneath the available snap ins.

We're going to find certificates and we're going to click on Add, we're going to accept the default for my user account. And we're going to click Finish. We're now going to click OK. Notice that the certificate store is now available to us up inside of the Microsoft Management Console. We can now expand the certificates store. And here we'll see all the different containers that are available for all the different certificates that we have available to us. I've expanded the left window pane just a little bit so you can see what's going on.

Now if we go to the trusted root certification authorities and we expand that and click on certificates, over in the left window pane, you will see the certificate that we created is called Vc one.us. Cyber offense comm we're now going to deploy or export the certificate to our desktop. To do this, I'm just going to right click on the name of the certificate, go to all tasks and select Export. This brings up the certificate Export wizard, we're just going to step through, click Next. Yes, I want to export the private key, we're going to select that option. We're going to click Next.

We're going to leave the defaults here, everything's checked for us already. Click Next. And here we're going to create a password for the certificate. I'm going to check the password box. Now I'm going to type in a password, the users will need this password to be able to install this certificate locally into their certificate store. Once I have my password typed in, I'm going to click Next.

This next step might be a little confusing, but we're not going to type in a file name yet, we're first going to click on the Browse button. I need to save the certificate to my desktop. So I'm going to select the desktop as my destination. And now where it says file name, I can now give this certificate a file name. I've given this file the name of application. So I'm going to click on Save.

That brings me back to the That box for the filename, we're going to click on Next. We're now ready to click the Finish button. So let's go ahead and do that an export was successful. Before we minimize our console window. Let's go ahead and take a look at this certificate. Now you can take a look at this certificate by just double clicking it.

And this tells you all about it. You got the details, the certificate path, all that good stuff that users would want to know about before they install the certificate. We're now ready to minimize our console window. And we're back up inside of the IIS Management Console. Divine this certificate to a site or sites up and set up is I'm just going to expand the sites container and you'll see that I have a default website. We're just going to click on that.

And over here all the way to the right underneath the actions window. We can click on bindings. We can now click on add in the Add site bindings window, we're going to pull down the type. And we're going to select HTTPS. We're gonna leave everything out there as a default, underneath the hostname, we're going to type in the exact name that we gave the certificate when we created it, where it says SSL certificate, we're going to pull down that window, and we're going to select the name of the certificate we created. It was called application testing.

I'm now going to select, I'm going to say OK, I'm not going to say OK, and you'll notice that our certificate is now bound to our default website. Now, one of the disadvantages of using a self signed certificate created up inside is is that we don't have the automation that we get with a PK AI infrastructure with a PK infrastructure that is to say a certificate server. We could direct users to the web page or that certificate server and they could automatically download and install That certificate. But in our case, since we're using a self signed certificate, it's not going to be trusted by any web browser. So when the user does come to the website, they will see this warning. And they'll have the option to be able to continue on to the website.

But each time they come to the website, they're going to have to step through this process. Unless we install or they install the certificate into their local certificate store. We can go ahead and close this out. I'm going to go ahead and minimize this. minimize this. And we're back to our desktop.

And here we see the certificate that we exported. If you right click on it, you'll see that you can open the certificate to view it, but you can also install the certificate. So if we were to make this certificate available onto a user's desktop, we could then install the certificate into the user certificate store and start The trusted Certification Authority container. That way each time the user accesses the internal website, they will not be told that the certificate comes from an untrusted source. To do this, all they have to do is right click and select install, like so. And they can step through the wizard current user.

That is correct. Next, this is just confirming the path to the certificate that is sitting on the user's desktop. We now have to type in the certificate password that we created when we generated the self signed certificate. Once we've typed in the certificate password, we can leave everything else as the default and click on the next button. On this next screen, we have to move the radio button down to the second option to place all certificates in the following store. We're not click on the Browse button, we need to import the certificate into the same container that we exported it from on our server To do this, we just select the trusted root certification authorities.

Click ok. You can click Next. And now you have the completing the certificate import wizard. Once you click finish, you will be told that the import was successful. So in this video demonstration, you got to see how we go about creating a self signed certificate using IIS. And now that was pretty down and dirty. And we didn't have to worry about creating our PK AI or creating a certificate service to run on our network.

And so an application of this sort is fine if we need a certificate very quickly to allow an application to run or to allow users to have access to a website. Now the caveat about all this is that this is great for internal. We wouldn't want to be doing this for an external web server, or any application that has to be trusted outside of our network with that being Said users should never install a certificate from an unknown source. In practice, you should only install a certificate locally if you generated it, because no legitimate website would require you to perform such steps as we performed in getting this certificate accepted by our browser. One last thing before we get out of here, this certificate warning that we're seeing up here inside of the browser when a user accesses the website for the first time, that is going to be shown to you inside of IE and Chrome.

Now for Firefox, it's completely different because Firefox does not access the windows certificate stores. for Firefox, you'll need to go into your trusted sites and add this website as an exception. That's going to conclude this short video presentation on how we go about creating a self signed certificate. So if you have any questions or you have any concerns about any of the content, of this video or anything The information inside the lab file please don't hesitate to reach out and contact your instructor and I'll see you in my next video.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.