Error: The Igor ca plugin is needed to sign certificates for iotsa devices.
{% endif %} {% endif %} {% if deviceKey and deviceCertificate %} {% set ds1 = pluginObject._getorset(device, module="config", protocol=protocol, credentials=credentials, port=port, noverify=noverify, token=token, httpsKey=deviceKey) %} {% set ds2 = pluginObject._getorset(device, module="config", protocol=protocol, credentials=credentials, port=port, noverify=noverify, token=token, httpsCertificate=deviceCertificate, reboot=1) %} {% set message = ds1.message or ds2.message %} {% if message %}User intervention required: {{message}}
{% else %} {% set _ = pluginObject._getpersist(device, clearNoverify=True) %}It seems installing the certificate and key was successful. Re-enabled certificate verification. Visit {{device}} status page to test.
{% endif %} {% else %}Both Key and Certificate must be specified.
{% endif %}