Server with Authentication (user/password) and Encryption #934
Unanswered
MattiaCozziPLRM
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You commented out the SecurityPolicyType for Basic256Sha256.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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