Giter Site home page Giter Site logo

Comments (5)

luiscantero avatar luiscantero commented on July 30, 2024

What client are you using to connect to the opcplc? (pls try UaExpert, for example)

You don't need to get the server certificate or upload the one from the client. The client usually shows a warning and you can accept the risk of connecting to a self-signed certificate and connect to it.

You can get the URI to your server from the Azure Portal, this is where you need to connect to:
image

from iot-edge-opc-plc.

ondrelogin avatar ondrelogin commented on July 30, 2024

I was using a custom client, but I downloaded UaExpert and tried and I still get an error and can't connect.
I get the option to

Please try another configuration or press 'Ignore' to force trying to connect.

Ideally I would like to have a better solution where I can actually use security and connect to an OPC UA server, hosted in a container in more realistic production scenario. Event I can get around these various prompts of getting it to work, I suspect that if I restart the container, then all the connections would fail, because a new Container would start up and a brand new set of certificates would be created and I'd have to go through this headache again.

Is there not a way to run this project, as an ACI, with some level of certificate security?
If so, can I have some help on how to do that?

from iot-edge-opc-plc.

luiscantero avatar luiscantero commented on July 30, 2024

In the readme we mention the following, have you tried it like this?

Note: Make sure that your OPC UA client uses security policy Basic256Sha256 and message security mode Sign & Encrypt to connect.

Restarting the container will indeed reset the certificates. You will have to mount a share to be able to persist the certificates. You will then need to modify the deployment template to pass the options related to the certificate storage, just search for "appcert" and "trustedstore" in the readme file.

from iot-edge-opc-plc.

SatishBoddu-MSFT avatar SatishBoddu-MSFT commented on July 30, 2024

Hello @ondrelogin Just checking back, could you please let us know if you need further help in this matter. Please refer to the above response and do let us know.

from iot-edge-opc-plc.

luiscantero avatar luiscantero commented on July 30, 2024

Closing due to no response. Feel free to reopen if we can help.

from iot-edge-opc-plc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.