Server with Authentication (user/password) and Encryption #1470
Unanswered
MattiaCozziPLRM
asked this question in
Q&A
Replies: 1 comment
-
I think there may be a problem with the certificate and key you generated. My old version of openssl cannot identify “- addext "subjectAltName = URI:urn:example.org: FreeOpcUa: python - opcua"“ this sentence. When I use OpenSSL 3.0.5 on Windows to generate the certificate and key, this sentence no longer returns an error and encryption authentication is successfully performed. |
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'm trying to create a server with authentication (via user and psw).
I didn't find an example to do that (something like "server-minimal-auth.py", because for client already exists a "client-minimal-auth.py" example...).
The server is working if I set SecurityPolicy to "None", however the following error appears:
Error 'BadSecurityModeInsufficient' was returned during ActivateSession, press 'Ignore' to suppress the error and continue connecting.
I tried to set a SecurityPolicy Basic256Sha256 ("Sign" or "SignAndEncrypt"), but always obtain these messages (also if I change policy):
Used UserTokenType: UserName
Error 'BadTimeout' was returned during OpenSecureChannel
Connection status of server 'myServer' changed to 'Disconnected'.
My server code is this:
Could someone help me?
Thank you in advance,
Mattia
Beta Was this translation helpful? Give feedback.
All reactions