Join Chander Dhall for an in-depth discussion in this video Add security to a cluster, part of Microservices and Azure Service Fabric Basics for Developers.
- [Instructor] Now we're going to have to add security. Now if you were to do it for test purposes, you can actually say Unsecure, hit OK, and you should be good to go. But it's not a good practice. So now we need to create a certificate. In your production environment, you will use a PFX self-signed certificate. However, for our purposes, we just need a test certificate. We will use a utility created by Aloaha, and it's available at this link. And once you download this, and Extract it, and double-click AloahaCertificateCreator and hit Run, you will need .NET Framework 3.5.
So once you click this, it's going to download and install .NET Framework 3.5. This will take a little bit of your time. Once the download is successful, we'll double-click the Creator again, and hit Run. And then type the name of the certificate, samplecoursecert. And make sure that Automatic Export is checked, and then click Generate. We can use the final name samplecoursecert, and then press Save.
You can see the certificate was generated. You can go to our Downloads folder, and we can see the certificate. If we double-click on the certificate, we're going to store it in our Local Machine. Press Next. It will give you an administrative prompt. Once you take care of that, you're going to have to hit Next again. And then we don't really need a password, so we'll go ahead and say Next. And then place the certificate in the following store.
We'll just add it in Personal for now. Once you press Next and then Finish, the import was successful. In order to make sure that we did it right, go to your search box and type cert, hit Enter, and you'll have the Microsoft Management Console pop up. Inside the Certificates, we have Personal. Once you go to the Certificates, you can see that the certificate is present over there.
- Reviewing microservices vs. monolithic architecture
- Reviewing microservices and Azure Service Fabric basics
- Programming model architecture
- Creating a stateless service and a stateful service
- Creating a cluster in Azure
- Adding security to a cluster
- Finalizing cluster creation
- Deploying to an Azure cluster
- Debugging an application remotely