I’ve changed the name of the endpoint to https_in, but you don’t have to. Now your cloud project has an SSL certificate you can use. Remember that thumbprint value that you edited the spaces out of and changed to uppercase? Paste it into the Thumbprint field. Leave “Store Location” set to “Local Machine” and “Store Name” to “My”. Open the Visual Studio solution for your Azure project and double-click on the web role under Roles under your cloud project to open the project properties, and go to the certificates tab.įor the name, fill in anything you want to, preferably something that makes sense, although you can call your certificate George if you like. This project has a web role and a worker role. I’m going to take the Customer Services project that I created at the San Diego Code Camp last week and change the endpoint from HTTP to HTTPS. Now let’s set up the https endpoint for our certificate. You should now see your certificate in the list. Then enter the password for the certificate and click on the checkbox in the bottom right-hand corner of the screen to upload the certificate. This will show the following upload dialog:īrowse on your computer to select the certificate file. Click on the service you want to add the certificate to.Īt the bottom of the screen, click on the Upload icon. Delete the spaces out of the alpha numeric pairs and change lowercase letters to uppercase letters, so instead of “1f b4 36 a7…” you have “1FB436A7…”Ĭlick on Cloud Services, and you will see a list of the services you have set up. Click on this, then copy the value out of the bottom window and save it somewhere. In the Details tab, there is an entry close to the bottom called “Thumbprint”. Double-click on it, and a screen will come up showing the properties. You should see your SSL certificate in the list. This will bring up the certificate manager for your user account.ĭouble-click on Personal, and then click on the Certificates folder under Personal. The following steps will show how to get the thumbprint.Ĭlick start and in the search box type in “certmgr.msc”. But no worries, you only need the thumbprint from the certificate in order to add it. However, Visual Studio will only browse to the machine’s certificate list when adding the certificate to the Azure configuration. By default, this ends up under your certificate list, not the machine’s certificate list. Just take the defaults when importing the certificate, and it should end up in the Personal list. So let’s see how to upload the certificate to the portal.įirst, install the SSL certificate in your computer’s certificate list by double-clicking on the certificate file. I’m assuming you have already set up a Windows Azure account and defined your service. Then you need to assign the certificate to the web role and set up an https endpoint in the Azure configuration in Visual Studio. Next, you need to upload the certificate to the Azure portal for the cloud service you are going to use to host the Azure web role. You can buy an SSL certificate that is just for, but if you buy one that is *., you can use it for, ,, , etc., like mine noted above is. A certificate from a CA validates that you are who you say you are, and somebody visiting that domain can be sure it is you. Next, you need a real SSL certificate from a Certificate Authority like VeriSign, purchased for your domain. For example, my domain is, and I have CNAMEd to. Then you need to CNAME what your service URL will be to your Azure service. How do you do this? First, you need a domain. At GoldMail, all of our WCF services have https endpoints.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |