You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parameters of the `Protect-GuestConfigurationPackage` cmdlet:
87
102
88
-
-**Path**: Full path of the machine configuration package.
103
+
-**Path**: Full path to the machine configuration package.
89
104
-**Certificate**: Code signing certificate to sign the package. This parameter is only supported
90
105
when signing content for Windows.
106
+
-**PrivateGpgKeyPath**: Full path to the private key `.gpg` file. This parameter is only supported
107
+
when signing content for Linux.
108
+
-**PublicGpgKeyPath**: Full path to the public key `.gpg` file. This parameter is only supported
109
+
when signing content for Linux.
110
+
91
111
92
112
## Certificate requirements
93
113
94
-
The machine configuration agent expects the certificate public key to be present in "Trusted Publishers" on Windows machines and in the path `/usr/local/share/ca-certificates/gc`
95
-
on Linux machines. For the node to verify signed content, install the certificate public key on the
96
-
machine before applying the custom policy. This process can be done using any technique inside the
97
-
VM or by using Azure Policy. An example template is available
98
-
[to deploy a machine with a certificate][01]. The Key Vault access policy must allow the Compute
99
-
resource provider to access certificates during deployments. For detailed steps, see
114
+
The machine configuration agent expects the certificate public key to be present in "Trusted
115
+
Publishers" on Windows machines and in the path `/usr/local/share/ca-certificates/gc` on Linux
116
+
machines. For the node to verify signed content, install the certificate public key on the machine
117
+
before applying the custom policy.
118
+
119
+
You can install the certificate public key using normal tools inside the VM or by using Azure
120
+
Policy. An [example template using Azure Policy][01] shows how you can deploy a machine with a
121
+
certificate. The Key Vault access policy must allow the Compute resource provider to access
122
+
certificates during deployments. For detailed steps, see
100
123
[Set up Key Vault for virtual machines in Azure Resource Manager][02].
101
124
102
125
Following is an example to export the public key from a signing certificate, to import to the
0 commit comments