Certificate-Authentication on server is possible with random private keys #1608
Unanswered
kabel-knrd
asked this question in
Q&A
Replies: 1 comment
-
Hello everyone and kabel-knrd, Thanks, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I want to create a server that provides the feature to authenticate via a x509 certificate. During the setup I followed or used the example server https://github.com/FreeOpcUa/opcua-asyncio/blob/master/examples/server-with-encryption.py. As a client I am using UA Expert.
During testing I found out that it's possible to login to the server by providing any private key with the stored certificate.
The successful login is limited only by providing the correct certificate, but not by providing the correct certificate and the coresponding private key as it should be.
Referring to the given example, the login is possible with the certificate
peer-certificate-example-1.der
and e.g. the private keypeer-private-key-example-3.pem
.Did I miss a configuration step during the server setup or did I overlook some other critical point?
Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions