Replies: 1 comment
-
I'm wondering whether it works or not if you remove
and let
set the server cert got from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a .net standard sample UA server from opcua foundation running, to which I'm trying to connect from the Go client with the following security options:
This works fine with the sample server as long as i have the self signed certificate of the server copied and renamed to "server.der" in the "certs" directory for
opcua.RemoteCertificateFile("./certs/server.der")
to be able to load it. But when applying the same security option to connect to an actual server that has a CA signed certificate, the go client is failing to trust the server certificate which results in a "BadSecurityChecksFailed" error on the server logsI have tried trusting the root(issuer's) certificate of the server, still no luck. Same error!
So I was wondering if there is a way I could configure the client to automatically trust the server side certificate without having to pass the file or the file-path, something like
opcua.TrustServerCertificate(true)
?Beta Was this translation helpful? Give feedback.
All reactions