Forum Home › Forums › Communicating with Devices › OPC › OPCUA Server Certificate Period
Tagged: opcua
- This topic has 10 replies, 3 voices, and was last updated 1 month ago by
manjey73.
-
AuthorPosts
-
October 13, 2026 at 6:54 am #18560
dhiraj@factorian.io
ParticipantHi,
I have trouble with Rapid Scada Certificate Generation, The certificate was generated for 1 year period,
Is there a way we can control/change the time period for certificate of OPCUA Server?October 13, 2026 at 11:14 am #18561
MikhailModeratorHi,
The current version of the DrvOpcUa driver should generate certificates with a 10-year validity period.
Please provide the additional info:
– What DrvOpcUa version is used?
– How did you check the certificate period?October 14, 2026 at 5:45 am #18562dhiraj@factorian.io
ParticipantHi Mikhail,
I am using 6.1.2.0 version of DrvOpcUA and i checked the Certificate period from folder in ” \ProgramData\OPC Foundation\pki\own\certs ” and also from UA browser where in it says my certificate is expired.Let me know
October 14, 2026 at 11:53 am #18563
MikhailModeratorHi,
DrvOpcUa 6.1.2.0 (February 27, 2026) is up to date.
Is there a chance that the existing certificate was created by the earlier version of the driver?
Try deleting it, so the driver will create a new one.October 15, 2026 at 6:57 am #18564dhiraj@factorian.io
ParticipantYes, The certificate was created by old version, which i had deleted, but then also it created for 1 year only.
What i did:
1. Update the Rapid Scada to latest version
2. delete the certificate
3. restarted/update again
4. Still got 1 year certificateCan i create custom expiry time certificate? If no what is the solution
October 15, 2026 at 12:38 pm #18565
MikhailModeratorThe old driver stored certificates in some odd Windows storage. It was difficult to remove them.
Please check if there are
C:\Program Files\SCADA\ScadaComm\Config\DrvOpcUa.View.xml
C:\Program Files\SCADA\ScadaComm\Config\DrvOpcUa.Logic.xml
files?If so, remove then from the project and from the runtime directory. They contain some outdated setting where to store certificates.
October 15, 2026 at 12:39 pm #18566
MikhailModerator4. Still got 1 year certificate
Is it generated with a new expiration date or the same?
October 23, 2026 at 5:52 am #18575dhiraj@factorian.io
ParticipantHi,
Still same, I have deleted both the files(DrvOpcUa.View.xml & DrvOpcUa.Logic.xml), stopped and restarted from services all Rapid services, deleted the old certificate but again got 1 year certificate.
How should i solve this?
I am not able to find the Certificate generation script also, if i can change manually in thatOctober 23, 2026 at 6:00 am #18576
manjey73ParticipantYou need to find the certificates, including those in the trusted list, delete them, and then restart the line.
October 23, 2026 at 6:03 am #18577
manjey73ParticipantYes, I found the certificate by searching for the *.der file.
/root/.locale/share/OPC Foundation/pki — everything is there, both the certificate and the key.In addition to the folder c:\ProgramData\OPC Foundation\pki\trusted\certs\
I also ran certmgr.msc via Run and removed it from the UA_MachineDefault branch
After that, a new certificate with a validity period of 1 year was createdDepending on the system, see the options.
October 23, 2026 at 6:04 am #18578
manjey73ParticipantThe topic is old; back then, the certificates were valid for 1 year.
The point is to delete the certificates so that it doesn’t pull in the old data. -
AuthorPosts
- You must be logged in to reply to this topic.