As the fix for this won't be part of 8.3.1, running the following from the browser console when logged into the Gateway will perform the noted action. The change will take effect immediately without having to restart the Gateway.
Regenerate the Ignition OPC UA Server Certificate:
var csrf;
await fetch('/data/app/session', {
method: 'get',
headers: {'Accept': 'application/json', 'Content-Type': 'application/json'},
}).then(response => response.json()).then(data => {csrf = data['csrfToken'];});
await fetch('/data/opc-ua/api/v1/server/certificate/regenerate', {
method: 'post',
body: JSON.stringify({validPeriodDays: 1095}),
headers: {'Content-Type': 'application/json', 'X-CSRF-Token': csrf}
}).then(response => response.json()).then(console.log);
Regenerate the OPC UA Client Certificate:
var csrf;
await fetch('/data/app/session', {
method: 'get',
headers: {'Accept': 'application/json', 'Content-Type': 'application/json'},
}).then(response => response.json()).then(data => {csrf = data['csrfToken'];});
await fetch('/data/opc-ua/api/v1/client/certificate/regenerate', {
method: 'post',
body: JSON.stringify({validPeriodDays: 1095}),
headers: {'Content-Type': 'application/json', 'X-CSRF-Token': csrf}
}).then(response => response.json()).then(console.log);