Skip to content

Commit 6a3ab0e

Browse files
Update readme.md
1 parent 0bd23e2 commit 6a3ab0e

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

  • deploy/az/servicefabric/LinuxContainers

deploy/az/servicefabric/LinuxContainers/readme.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,32 @@ Go to PortalAzure and create a Keyvault service. Make sure Enable access for dep
6565
![image](https://user-images.githubusercontent.com/1712635/31638848-9b266530-b28a-11e7-953b-1e3ec1a54f77.png)
6666

6767
## Generate a certificate in Azure Keyvault
68+
In a POWER-SHELL window, move to the folder [..\deploy\az\servicefabric\LinuxContainers](https://github.com/dotnet-architecture/eShopOnContainers/tree/dev/deploy/az/servicefabric/LinuxContainers).
69+
70+
**Select your Azure subscription** You might have [several Azure subscriptions](https://docs.microsoft.com/en-us/cli/azure/account#set) as shown if you type the following.
71+
72+
>```
73+
>az account list
74+
>```
75+
If you have multiple subscription accounts, you first need to select the Azure subscription account you want to target. Type the following:
76+
>```
77+
>az account set --subscription "Your Azure Subscription Name or ID"
78+
>```
79+
6880
Execute the gen-keyvaultcert.ps1 script to generate and download a certificate from Keyvault.
6981

7082
```
7183
.\gen-keyvaultcert.ps1 -vaultName <your_keyvault_service> -certName <your_cert_name> -certPwd <your_cert_pwd> -subjectName CN=<your_sf_dns_name>.westeurope.cloudapp.azure.com -saveDir C:\Users\<user>\Downloads
7284
7385
```
86+
87+
You should see a similar execution to the following:
88+
![image](https://user-images.githubusercontent.com/1712635/31640172-93efcca0-b291-11e7-970e-5b5e6bf07042.png)
89+
90+
IMPORTANT: At this point, copy/cut the .PFX certifiacte file saved in the downloads forlder and save it in a secure place.
91+
7492
## Install the certificate
75-
Install the certificate under 'Current User' store location and check it as exportable.
93+
Install the certificate (by double-clicking on the .PFX file) under 'Current User' store location (by default location) and check it as exportable.
7694

7795
<img src="../../../../img/sf/install-cert.png">
7896

0 commit comments

Comments
 (0)