You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@allenlu1990 I understand your question - but this is unrelated to this issue. It might be a requirement by the standard. Here we are dealing with the fact that multiple certificates are announced.
The OPC-UA might announce multiple certificates - concatenated. Then
x509.ParseCertificate(cert)
does not work - it will report ax509: trailing data
error.It is better to use
x509.ParseCertificates(certsByteArray)
(Plural!) and then to chose one of them. The first?Honestly I do not understand why some servers provide multiple certs - maybe there should be a way to select one of them? You know it better ...
EDIT: Or is there a way to choose the cert during a config step?
EDIT2: Here is a diff - it's probably not complete, but gives an idea .. sorry it's for v0.3.9
The text was updated successfully, but these errors were encountered: