Skip to content

OPC UA server certificate (OPC Foundation server) #2120

@samirhaj

Description

@samirhaj

Type of issue

  • Bug
  • Enhancement
  • Compliance
  • Question
  • Help wanted

Current Behavior

Hi,
We are using OPC Foundation OpcUa server in our company. SInce we want to use in production with no stoppage, we would like to have server certificates to have more extended life-time than what it has now (it has only one-year validity).
I have now TWO main questions:

1- Is it possible to extend the auto-generated certificate of the OPC server to longer life-time? I also have access to the .Net source code of the Opc Server if that helps to do that in the code. I found where in the Opc Server code the LifeTimeInMonths = 12 and I changed that but it didn't work because I understood that this is a dll (or NuGet) of some X509Certificate has been used inside with some parameters that cannot be changed (because it's a NuGet if I am correct here?).

2- If the option #1 is not possible, I also have made very long life-time self-signed certificate (from a third party) that can be used it in the OpcUa server. So my question is how to add the certificate to the Opc server? In other words, how I can tell the OpcUa server to use the certificate that I have generated instead of its own generated certificates?

Best regards.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionThe issue contains a question. After no activity the issue might be closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions