Contents
Cirrus Link Resources
Cirrus Link Website
Contact Us (Sales/Support)
Forum
Cirrus Link Modules Docs for Ignition 7.9.x
Inductive Resources
Ignition User Manual
Knowledge Base Articles
Inductive University
Forum
...
Info |
---|
Cirrus Link provides these scripts as examples only, they are not supported or guaranteed to meet any particular functionality. Cirrus Link cannot provide any assistance to modify these scripts to meet a particular need. |
Note |
---|
Cirrus Link provides these scripts as examples only, they are not supported or guaranteed to meet any particular functionality. Cirrus Link cannot provide any assistance to modify these scripts to meet a particular need. |
Warning |
---|
Cirrus Link provides these scripts as examples only, they are not supported or guaranteed to meet any particular functionality. Cirrus Link cannot provide any assistance to modify these scripts to meet a particular need. |
Code Block | ||
---|---|---|
| ||
# Update Certificates # Cirrus Link provides these scripts as examples only, they are not supported or guaranteed to meet any particular functionality. Cirrus Link cannot provide any assistance to modify these scripts to meet a particular need # Get Id for current certificate savedCerts = system.cirruslink.azure.readConfig("Cert Files") for config in savedCerts: if config["Name"] == "My current cert name": certId = config["Id"] # Read New Cert File deviceCaCertFilePath = "/path/to/your/certs/iot-edge-device-ca-CA.cert.pem" deviceCaCert = open(deviceCaCertFilePath, 'r').read() # Update existing cert config using MergeOverwrite certProps = {} certProps["FileContents"] = deviceCaCert system.cirruslink.azure.updateConfig(“Cert Files”, certId, “MergeOverwrite”, certProps) |
...