- At present issuer list is passed in trust list
- Add functionality to pass the issuer list separately
- Handle condition where a client is connected using
an (trusted) issued certificate of a CA that is not
trusted but available
- This resolves test case number 044.js and 045.js in
Security Certificate Validation to pass simultaneously
- usage : ./server_ctt <server-certificate.der> <private-key.der>
[--trustlist <tl1.ctl> <tl2.ctl> ... ]
[--issuerlist <il1.der> <il2.der> ... ]
[--revocationlist <rv1.crl> <rv2.crl> ...]
Change-Id: I4a25af9f4c2b771da9492fafb534f72dcc6fc17d
Signed-off-by: Asish Ganesh <asish.g@kalycito.com>
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
Make use of EXIT_SUCCESS and EXIT_FAILURE from stdlib.h.
The previous approach of returning a value from UA_StatusCode
was often broken as an exit code can (portably) only be between 0 and 125.
- Update UA_ByteString_allocBuffer() to UA_STACKARRAY() in the files
examples/encryption/client_basic128rsa15.c and examples/encryption/
client_basic256sha256.c.
- Handle return value for remote certificate verification in
ua_client.c file.
- Update create_self-signed.py to generate CA certificate in .der
format.
Change-Id: I6e84694c99c561d237ecbafb63b957d19c2e74c9
Signed-off-by: Sharavanan A R <sharavanan.ar@kalycito.com>
- The file examples/encryption/client_basic128rsa15.c provides a
secure communication between client and server by using
basic128rsa15 security policy.
- The secure client-server communication is implemented
based on the OPC UA specification Part 4, setion 6.
- Line number 176 in file src/client/ua_client.c is commented as
UA_SecureChannel_deleteMembers already done in
UA_client_disconnect function.
- Load revocation list is not supported in this commit.
Change-Id: I9aa06dce6ac000c290accc57f1147a919ec74f1e
Signed-off-by: Sharavanan A R <sharavanan.ar@kalycito.com>