UNPKG

node-red-contrib-trustpoint

Version:

Node-RED nodes for EST (Enrollment over Secure Transport) and certificate operations.

32 lines (29 loc) 1.2 kB
<script type="text/javascript"> RED.nodes.registerType('trustpoint-build-enroll-payload', { category: 'Trustpoint', color: '#3e91f7', defaults: { name: { value: "" } }, inputs: 1, outputs: 1, icon: "font-awesome/fa-paper-plane", label: function () { return this.name || "trustpoint-build-enroll-payload"; } }); </script> <script type="text/x-red" data-template-name="trustpoint-build-enroll-payload"> <div class="form-row"> <label for="node-input-name"><i class="fa fa-tag"></i> Name</label> <input type="text" id="node-input-name" placeholder="Name"> </div> <p> Builds the <code>msg.payload</code> object to be sent for EST enrollment, injecting the CSR in DER format and credentials. </p> </script> <script type="text/x-red" data-help-name="trustpoint-build-enroll-payload"> <p> This node takes <code>msg.estBaseUrl</code>, <code>msg.estUsername</code>, <code>msg.estPassword</code>, and a CSR in DER format, then prepares the <code>msg.payload</code> object expected by the <code>trustpoint-simpleenroll</code> node. </p> </script>