Try to find on another PC/Server the certificate from the dll "AGLink40.DLL" with a "digital signature OK", then export this certificate and import it onto your server.
Reinitialize TKS, that's it that's all.
But Best Practice, when migrating from KepServerEX to Thingworx Kepware Server:
Hi @herve_husson ,
I assume the root cause would be:
The DLL file siemens_s7_plus_ethernet.dll
requires a verified digital signature for proper loading. It depends on another DLL (AGLink40.DLL
) which must also have a valid, verifiable digital signature. On some systems, the certificate for AGLink40.DLL
may not be trusted or may be missing.
May be you can resolve by
Identify Valid Certificate Source:
Locate another PC/server where AGLink40.DLL
shows “Digital Signature is OK” (see second screenshot).
This indicates the certificate is fully validated on that machine.
Export Valid Certificate:
On the working machine:
Right-click AGLink40.DLL
→ Properties → Digital Signatures → Select signer → View Certificate → Details → Copy to File.
Export the certificate (preferably as .CER
file).
Import Certificate on Problem Server:
Double-click the exported .CER
file.
Click Install Certificate.
Select Local Machine store.
Choose Place all certificates in the following store → Trusted Root Certification Authorities.
Complete the import.
Reinitialize Kepware Server:
Stop and restart ThingWorx Kepware Server services (or reboot if necessary).
Always backup your configuration (.opf and .ptcfg files).
Uninstall old KepServerEX version completely.
Install ThingWorx Kepware Server as a fresh install (not on top).
Reimport configuration post-install.
Validate all third-party or dependent DLLs for digital signatures post-upgrade.
Thanks,