-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Allows an issued Edge CA certificate to be specified in the super config. The Edge CA certificate may be issued over EST or by a local CA certificate. The SelfSigned issuance option is equivalent to the existing quickstart option, but allows a customizable certificate common name.
- Loading branch information
1 parent
4faa9a0
commit 6368eb6
Showing
25 changed files
with
671 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This file is auto-generated by `iotedge config apply` | ||
# Do not edit it manually; any edits will be lost when the command is run again. | ||
|
||
homedir_path = "/var/lib/aziot/certd" | ||
[cert_issuance.aziot-edged-ca] | ||
common_name = "iotedged workload ca my-device" | ||
expiry_days = 120 | ||
method = "est" | ||
url = "https://example.org/.well-known/est" | ||
username = "user" | ||
password = "password" | ||
identity_cert = "est-id-aziot-edged-ca" | ||
identity_pk = "est-id-aziot-edged-ca" | ||
bootstrap_identity_cert = "est-bootstrap-id-aziot-edged-ca" | ||
bootstrap_identity_pk = "est-bootstrap-id-aziot-edged-ca" | ||
|
||
[preloaded_certs] | ||
aziot-edged-trust-bundle = ["aziot-edged-ca", "trust-bundle-user"] | ||
est-bootstrap-id-aziot-edged-ca = "file:///var/secrets/est-bootstrap-id.pem" | ||
trust-bundle-user = "file:///var/secrets/trusted-ca.pem" | ||
|
||
[[principal]] | ||
uid = 5558 | ||
certs = ["aziot-edged-ca", "aziot-edged/module/*"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
aziot-identity-service|aziot-ide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# This file is auto-generated by `iotedge config apply` | ||
# Do not edit it manually; any edits will be lost when the command is run again. | ||
|
||
hostname = "my-device" | ||
edge_ca_cert = "aziot-edged-ca" | ||
edge_ca_key = "aziot-edged-ca" | ||
trust_bundle_cert = "aziot-edged-trust-bundle" | ||
auto_reprovisioning_mode = "OnErrorOnly" | ||
homedir = "/var/lib/aziot/edged" | ||
allow_elevated_docker_permissions = true | ||
|
||
[agent] | ||
name = "edgeAgent" | ||
type = "docker" | ||
imagePullPolicy = "on-create" | ||
|
||
[agent.config] | ||
image = "mcr.microsoft.com/azureiotedge-agent:1.0" | ||
|
||
[agent.config.createOptions] | ||
|
||
[agent.config.auth] | ||
|
||
[agent.env] | ||
|
||
[connect] | ||
workload_uri = "unix:///var/run/iotedge/workload.sock" | ||
management_uri = "unix:///var/run/iotedge/mgmt.sock" | ||
|
||
[listen] | ||
workload_uri = "fd://aziot-edged.workload.socket" | ||
management_uri = "fd://aziot-edged.mgmt.socket" | ||
min_tls_version = "tls1.0" | ||
|
||
[watchdog] | ||
max_retries = "infinite" | ||
|
||
[moby_runtime] | ||
uri = "unix:///var/run/docker.sock" | ||
network = "azure-iot-edge" |
Oops, something went wrong.