# \[IGN-14345\] Downloading OPC-UA server certificate in v8.3

**URL:** <https://forum.inductiveautomation.com/t/ign-14345-downloading-opc-ua-server-certificate-in-v8-3/110761>\
**Category:** Ignition\
**Created:** [September 18, 2025, 3:53pm UTC](https://forum.inductiveautomation.com/t/ign-14345-downloading-opc-ua-server-certificate-in-v8-3/110761 "2025-09-18T15:53:50Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![ggross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ggross/32/12668_2.png) [@ggross](https://forum.inductiveautomation.com/u/ggross)\
**Post date:** [October 6, 2025, 4:21pm UTC](https://forum.inductiveautomation.com/t/ign-14345-downloading-opc-ua-server-certificate-in-v8-3/110761/13 "2025-10-06T16:21:58Z")

</div>

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** :

```python
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** :

```python
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);

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/ign-14345-downloading-opc-ua-server-certificate-in-v8-3/110761)._
