Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
OPC UA Historian - "The certificate chain is incomplete."
October 4, 2023
19:50, EEST
Avatar
fcsm
New Member
Members
Forum Posts: 2
Member Since:
October 4, 2023
sp_UserOfflineSmall Offline

I am currently evaluating OPC UA Historian for a customer.
I think I have gone through all the appropriate steps to establish communication with the OPC UA Server:
1. Imported all the client certificates into the server
2. Created an appropriate login/password for the client
3. Set host files on both to match computer names on the certificates.
4. Was able to connect using OPC UA Browser after trusting the server certificate and the signing root CA.
5. Copied these into OPC UA Historian and approved both.

When I go to connect, I am using SignAndEncrypt, Aes128_Sha256_RsaOsap (same as used on OPC UA Browser), I always receive the same error:

========================
Error:
Invalid server certificate

Status Code:
Bad_CertificateChainIncomplete (0x810D0000) “The certificate chain is incomplete.”
========================

I cannot figure out what is wrong with my certificate, especially since I have the signing rootCA also trusted.

Any help would be greatly appreciated!

October 5, 2023
10:21, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 321
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

When you copied the certificate chain to Historian, did you copy the entire chain including root CA certificate, possible intermediate CA certificates and the “leaf” application instance certificate to CLIENT_PKI\CA\certs folder? If you did not copy the entire chain or copied the certificates to an incorrect folder, Historian will not be able to validate them correctly when connecting to the Server.

October 5, 2023
16:27, EEST
Avatar
fcsm
New Member
Members
Forum Posts: 2
Member Since:
October 4, 2023
sp_UserOfflineSmall Offline

Matti Siponen said
Hello,

When you copied the certificate chain to Historian, did you copy the entire chain including root CA certificate, possible intermediate CA certificates and the “leaf” application instance certificate to CLIENT_PKI\CA\certs folder? If you did not copy the entire chain or copied the certificates to an incorrect folder, Historian will not be able to validate them correctly when connecting to the Server.  

Yup, that did it. I wasn’t thinking and put the root certs in “SERVER_PKI\CA\Certs”. Once I moved them into “CLIENT_PKI\CA\Certs” and the .crl into “CLIENT_PKI\crl” it started working.

Thanks for the help!

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

TimK: 41

Member Stats:

Guest Posters: 0

Members: 682

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

karrimacvitie5, graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc

Moderators: Jouni Aro: 1010, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1