OPCUAUniCT / OPCUAWebPlatformUniCT

An ASP.NET Core web application exposing OPC UA Servers to non OPCUA-compliant clients with a REST interface
GNU General Public License v2.0
103 stars 43 forks source link

Getting error: Unexpected signature algorithm #3

Closed jkancio closed 6 years ago

jkancio commented 6 years ago

Congratulation for your pioneer job. I'm getting the error... Unexpected signature algorithm: ...//www.w3.org/2000/09/xmldsig#rsa-sha256 As shows attached image. signatureerror

I'm using ...

true

My other question is: If I have to send a certificate to the server, where do I put the file?

msalafia commented 6 years ago

Hi @jkancio, thank you for your compliment.

OPC UA Web Platfowm creates its own Instance Certificate once it is started. Its OPC UA layer implementation is based on OPCFoundation reference implementation. If you look at SampleApplication you will see how instance certificates are managed.

Basically, you don't have to send any instance certificate to the OPC UA server because the platform create its own certificate and send it to the server during the session establishment.

Pay attention to one thing: OPC UA Server needs to trust the Platform instance certificate. For instance, if you are using the UaCppServer by Unified Automation you have to move the platform certificate from the rejected folder to the trusted folder, as explained in this guide.

Hope this can be helpful.

jkancio commented 6 years ago

Thank you for your fast response. It worked fine. Sorry, I've not notice this detail, although it was in the documentation.