Giter Site home page Giter Site logo

open62541's Introduction

open62541

This project builds the smallest dockerized implementation of the example server_ctt server with cryptography enabled

Useful for testing when you need a small, quick server with cryptography enabled

Much smaller than the official build (<10MB vs >200MB) this is because a two-step docker build process is used

The server does not authenticate clients (is run with --enableAnonymous flag)

You will need to mount the client certificate in the trusted folder, or

If you are signing your clients with a CA, the CA certificate should go in the issuer folder

This repo is for building and testing locally as well as building the docker file, if you're interested in the docker file only, refer to the heading "Docker", otherwise refer to "Github"

Docker

If you're interested in using the docker image only please use this section.

Prerequisits

You will need

  • docker,
  • an OPC UA client, and
  • openssl (for generating certificates etc)

Hint: refer to the github project for examples building the client certs

Getting Started

In order to connect to the server you will need to mount your CAs to issuers or client certs to trusted.

/bin/sh docker run -it -p 4840:4840 -v "$(pwd)/issuers/":/home/open62541/issuers/ -v "$(pwd)/trusted/":/home/open62541/trusted/ open62541

Hint: the bash script start_open62541 in the github project gives an example of everything you need to get started

Github

For building and testing locally please refer to this section

Prerequisits

You will need:

  • Docker, and
  • An internet connection for building the docker image

For running the supplied test app:

  • Python3 (for running the test app)
  • opcua (python module, i.e. pip3 install opcua)

Getting Started

just call: ./start_open62541

This will

  • Build the docker image with the name 'open62541'
  • Create client certificates for the python script 'client-with-encryption.py'
  • Copy the cert to the trusted folder
  • Start the docker instance, and
  • Run the python program

open62541's People

Contributors

bradder555 avatar

Watchers

James Cloos avatar  avatar  avatar

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.