Giter VIP home page Giter VIP logo

azure-iiot-opc-vault-service's Introduction

This project has been depricated and archived. If you are interested in OPC UA Global Discovery Services functionality, there is an on-prem reference implementation we have contributed to the OPC Foundation open-source here.

azure-iiot-opc-vault-service's People

Contributors

barnstee avatar marcschier avatar microsoftopensource avatar mregen avatar msftgits avatar ytwangp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azure-iiot-opc-vault-service's Issues

Deployment error 'Forbidden'

Type of issue

  • Bug
  • Interoperability
  • Specification
  • [x ] Deployment
  • Enhancement

Project

  • [] OPC Vault microservice
  • [ x] OPC Vault sample application
  • [x ] OPC Vault edge module

Steps to reproduce

I just followed the steps in howto-deploy-services.md

Current behavior

OPC Vault edge module application (docker and dotNet) will not start.
It gives the error 'Forbidden', same with the web-page List of Certificate Groups.
So it looks that my account is not admin on the site. How do I make him that?

Context and Environment

  • Operating System: azure
  • GitHub branch: Master

Code to reproduce the bug

Failed to load the certificate groups. Message:Operation returned an invalid status code 'Forbidden'

PEM private key should use PKCS#8, not PKCS#5

Type of issue

  • Bug
  • Interoperability
  • Specification
  • Deployment
  • Enhancement

Project

  • OPC Vault microservice
  • OPC Vault sample application
  • OPC Vault edge module

Description

Reported by Matrikon in IOP

The private key PEM file is provided in the old PKCS5 format which is not correct. It should be PKCS8. The spec. references an RFC which mandates the more up-to-date format. This is an issue as some crypto libraries do not support the old format.

https://github.com/kjur/jsrsasign/wiki/Tutorial-for-PKCS5-and-PKCS8-PEM-private-key-formats-differences

Steps to reproduce

  1. Create public private key pair as PEM.
  2. Dowload private key
  3. [and so on...]

Expected behavior

PEM format is PKCS#8

Current behavior

PEM format is PKCS#5

Known workarounds

Edit PEM after download

Possible solution

Fix service

Add cert upload to register application

Is your feature request related to a problem? Please describe.
Its painful to manually enter the information like AppUri and domain names in the dialog.

Describe the solution you'd like
Use the self signed cert of an app to prefill the basic information in the form.

Describe alternatives you've considered
Support the .xml description of an application.

Additional context

Documentation

Please ad a Rad.me to this page. Or at least a pointer that leads to an explanation of what the Application does and how to use.
Please also add information on how to configure the micro-service. It needs at least storage configured as per:

ekskog@eighteen:~$ sudo iotedge logs -f vault
Unhandled exception. Microsoft.Azure.IIoT.Exceptions.InvalidConfigurationException: Storage configuration is missing in your configuration for dataprotection to store all keys across all instances.

Sample application login issue on Safari / webkit

There is a known issue with ASP.Net 2.1 OpenID Connect and the latest Safari browser / iOS browser using webkit. The webpage hangs after login.

Workaround: Refresh web page

An error will be displayed, but then operation continues as expected.

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.