GitHub user dsdbusch added a comment to the discussion: Use certificate /
encrypted communication using OPC UA Adapter
I don't get it running. I created a certificate pfx file containing
X509v3 extensions:
X509v3 Key Usage: critical
Digital Signature, Key Encipherment, Certificate Sign
X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
X509v3 Basic Constraints: critical
CA:FALSE
X509v3 Subject Alternative Name:
DNS:PC-BU, DNS:localhost, IP Address:127.0.0.1,
URI:urn:PC-BU:dsd-automation.industream
I also defined the following environment variables inside the docker's yml file:
- SP_OPCUA_SECURITY_DIR=/media/dsd/certificates
- SP_OPCUA_KEYSTORE_FILE=/media/dsd/certificates/myCertificate.pfx
- SP_OPCUA_KEYSTORE_PASSWORD=securePassword
- SP_OPCUA_APPLICATION_URI=urn:PC-BU:dsd-automation.industream
SP_OPCUA_SECURITY_DIR seems to be okay, as
/media/dsd/certificates/pki/issuers/certs and crl will be created while trying
to connect to an OPCUA server.
I don't get any connection - all i get is an non-saying error message:
io.netty.channel.StacklessClosedChannelException
What about the OPC-Server's certificate (.der file)? I copied it manually to
pki/trusted/certs - no changes
GitHub link:
https://github.com/apache/streampipes/discussions/3423#discussioncomment-11863705
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]