signature=89d8cb77d40ef7009801ee360d53df2b,Getting BadCertificateUriInvalid error while establishing...

Adding the server and client trace logs (loglevel was set to 100 for open62541):

server_basic256sha256 log:

vkb1@vkb1-dev:~/opcua_samples$ ./server_basic256sha256 /etc/ssl/opcua/opcua_server_certificate.der /etc/ssl/opcua/opcua_server_key.der /etc/ssl/ca/ca_certificate.der

[2019-04-09 10:10:19.656 (UTC+0550)] debug/session Connection 0 | SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | AddNodes: No value given; Copy the value from the Typ

eDefinition

[2019-04-09 10:10:19.656 (UTC+0550)] debug/session Connection 0 | SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | AddNodes: No value given; Copy the value from the Typ

eDefinition

[2019-04-09 10:10:19.658 (UTC+0550)] debug/session Connection 0 | SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | AddNodes: No value given; Copy the value from the Typ

eDefinition

[2019-04-09 10:10:19.658 (UTC+0550)] debug/session Connection 0 | SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | AddNodes: No value given; Copy the value from the Typ

eDefinition

[2019-04-09 10:10:19.658 (UTC+0550)] debug/session Connection 0 | SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | AddNodes: No value given; Copy the value from the Ty$

eDefinition

[2019-04-09 10:10:19.658 (UTC+0550)] debug/session Connection 0 | SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | AddNodes: No value given; Copy the value from the Ty$

eDefinition

[2019-04-09 10:10:19.658 (UTC+0550)] debug/session Connection 0 | SecureChannel 0 | Session g=00000001-0000-0000-0000-000000000000 | AddNodes: No value given; Copy the value from the Typ

eDefinition

[2019-04-09 10:10:19.658 (UTC+0550)] info/network TCP network layer listening on opc.tcp://localhost:4840/

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | New TCP connection on server socket 3

[2019-04-09 10:10:25.230 (UTC+0550)] info/network Connection 5 | New connection over TCP from 127.0.0.1

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | Activity on the socket

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | Received a packet.

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | No channel attached to the connection. Process the chunk directly

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | Activity on the socket

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | Received a packet.

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | No channel attached to the connection. Process the chunk directly

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | Process OPN message

[2019-04-09 10:10:25.230 (UTC+0550)] info/channel Creating a new SecureChannel

[2019-04-09 10:10:25.230 (UTC+0550)] warn/securitypolicy No PKI plugin set. Accepting all certificates

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Decrypting chunk

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Chunk size before and after decryption: 132, 132

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Verifying chunk signature

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Decrypted and verified chunk with request id 1 and sequence number 1

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Sequence Number processed: 1

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Process an OPN on an open channel

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Generating new local keys

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Generating new remote keys

[2019-04-09 10:10:25.230 (UTC+0550)] info/channel Connection 5 | SecureChannel 1 | Opened SecureChannel

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | Activity on the socket

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | Received a packet.

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Decrypting chunk

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Chunk size before and after decryption: 93, 93

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Decrypted and verified chunk with request id 2 and sequence number 2

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Sequence Number processed: 2

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Process a MSG

[2019-04-09 10:10:25.230 (UTC+0550)] debug/session Connection 5 | SecureChannel 1 | Session g=00000000-0000-0000-0000-000000000000 | Processing GetEndpointsRequest with endpointUrl "opc.

tcp://localhost:4840"

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | Activity on the socket

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | Received a packet.

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Decrypting chunk

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Chunk size before and after decryption: 57, 57

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Decrypted and verified chunk with request id 3 and sequence number 3

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Sequence Number processed: 3

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 5 | SecureChannel 1 | Process a CLO

[2019-04-09 10:10:25.230 (UTC+0550)] info/channel Connection 5 | SecureChannel 1 | CloseSecureChannel $

[2019-04-09 10:10:25.230 (UTC+0550)] trace/network Connection 5 | Activity on the socket

[2019-04-09 10:10:25.230 (UTC+0550)] info/network Connection 5 | Closed

[2019-04-09 10:10:25.231 (UTC+0550)] trace/network Connection 5 | New TCP connection on server socket 3

[2019-04-09 10:10:25.231 (UTC+0550)] info/network Connection 5 | New connection over TCP from 127.0.0.1

[2019-04-09 10:10:25.231 (UTC+0550)] trace/network Connection 5 | Activity on the socket

[2019-04-09 10:10:25.231 (UTC+0550)] trace/network Connection 5 | Received a packet.

[2019-04-09 10:10:25.231 (UTC+0550)] trace/network Connection 5 | No channel attached to the connection. Process the chunk directly

[2019-04-09 10:10:25.254 (UTC+0550)] trace/network Connection 5 | Activity on the socket

[2019-04-09 10:10:25.254 (UTC+0550)] trace/network Connection 5 | Received a packet.

[2019-04-09 10:10:25.254 (UTC+0550)] trace/network Connection 5 | No channel attached to the connection. Process the chunk directly

[2019-04-09 10:10:25.254 (UTC+0550)] trace/network Connection 5 | Process OPN message

[2019-04-09 10:10:25.254 (UTC+0550)] info/channel Creating a new SecureChannel

[2019-04-09 10:10:25.255 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Decrypting chunk

[2019-04-09 10:10:25.293 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Chunk size before and after decryption: 2445, 2361

[2019-04-09 10:10:25.293 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Verifying chunk signature

[2019-04-09 10:10:25.293 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Decrypted and verified chunk with request id 1 and sequence number 1

[2019-04-09 10:10:25.293 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Sequence Number processed: 1

[2019-04-09 10:10:25.293 (UTC+0550)] trace/channel Connection 5 | SecureChannel 0 | Process an OPN on an open channel

[2019-04-09 10:10:25.293 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Generating new local keys

[2019-04-09 10:10:25.293 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Generating new remote keys

[2019-04-09 10:10:25.293 (UTC+0550)] info/channel Connection 5 | SecureChannel 2 | Opened SecureChannel

[2019-04-09 10:10:25.342 (UTC+0550)] trace/network Connection 5 | Activity on the socket

[2019-04-09 10:10:25.342 (UTC+0550)] trace/network Connection 5 | Received a packet.

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Decrypting chunk

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Chunk size before and after decryption: 1552, 1552

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Calculated padding size to be 2

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Verifying chunk signature

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Decrypted and verified chunk with request id 2 and sequence number 2

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Sequence Number processed: 2

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Process a MSG

[2019-04-09 10:10:25.342 (UTC+0550)] debug/channel Connection 5 | SecureChannel 2 | Trying to create session

[2019-04-09 10:10:25.342 (UTC+0550)] trace/network Connection 5 | Activity on the socket

[2019-04-09 10:10:25.342 (UTC+0550)] trace/network Connection 5 | Received a packet.

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Decrypting chunk

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Chunk size before and after decryption: 96, 96

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Calculated padding size to be 7

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Verifying chunk signature

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Decrypted and verified chunk with request id 3 and sequence number 3

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Sequence Number processed: 3

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 5 | SecureChannel 2 | Process a CLO

[2019-04-09 10:10:25.342 (UTC+0550)] info/channel Connection 5 | SecureChannel 2 | CloseSecureChannel

[2019-04-09 10:10:25.343 (UTC+0550)] trace/network Connection 5 | Activity on the socket

[2019-04-09 10:10:25.343 (UTC+0550)] info/network Connection 5 | Closed

^C[2019-04-09 10:12:10.685 (UTC+0550)] info/userland received ctrl-c

[2019-04-09 10:12:10.685 (UTC+0550)] debug/network Socket select failed with Interrupted system call

[2019-04-09 10:12:10.685 (UTC+0550)] info/network Shutting down the TCP network layer

[2019-04-09 10:12:10.685 (UTC+0550)] debug/securitypolicy Deleted members of EndpointContext for sp_basic256sha256

client_encryption log:

vkb1@vkb1-dev:~/opcua_samples$ ./client_encryption "opc.tcp://localhost:4840" /etc/ssl/opcua/opcua_client_certificate.der /etc/ssl/opcua/opcua_client_key.der /etc/ssl/ca/ca_certifica[19/1898]

[2019-04-09 10:10:25.229 (UTC+0550)] info/client Connecting to endpoint opc.tcp://localhost:4840

[2019-04-09 10:10:25.229 (UTC+0550)] debug/client Initialize the SecurityPolicy context

[2019-04-09 10:10:25.229 (UTC+0550)] info/client SecurityPolicy not specified -> use default #None

[2019-04-09 10:10:25.229 (UTC+0550)] warn/securitypolicy No PKI plugin set. Accepting all certificates

[2019-04-09 10:10:25.230 (UTC+0550)] info/client TCP connection established

[2019-04-09 10:10:25.230 (UTC+0550)] debug/network Sent HEL message

[2019-04-09 10:10:25.230 (UTC+0550)] debug/network Received ACK message

[2019-04-09 10:10:25.230 (UTC+0550)] debug/channel Requesting to open a SecureChannel

[2019-04-09 10:10:25.230 (UTC+0550)] debug/channel OPN message sent

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 3 | SecureChannel 0 | Decrypting chunk

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 3 | SecureChannel 0 | Chunk size before and after decryption: 135, 135

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 3 | SecureChannel 0 | Verifying chunk signature

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 3 | SecureChannel 0 | Decrypted and verified chunk with request id 1 and sequence number 1

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 3 | SecureChannel 0 | Sequence Number processed: 1

[2019-04-09 10:10:25.230 (UTC+0550)] debug/client Decode a message of type OpenSecureChannelResponse

[2019-04-09 10:10:25.230 (UTC+0550)] info/client Opened SecureChannel with SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 3 | SecureChannel 1 | Generating new local keys

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 3 | SecureChannel 1 | Generating new remote keys

[2019-04-09 10:10:25.230 (UTC+0550)] info/client Endpoint and UserTokenPolicy unconfigured, perform GetEndpoints

[2019-04-09 10:10:25.230 (UTC+0550)] debug/client Sending a request of type 426

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 3 | SecureChannel 1 | Decrypting chunk

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 3 | SecureChannel 1 | Chunk size before and after decryption: 5527, 5527

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 3 | SecureChannel 1 | Decrypted and verified chunk with request id 2 and sequence number 2

[2019-04-09 10:10:25.230 (UTC+0550)] trace/channel Connection 3 | SecureChannel 1 | Sequence Number processed: 2

[2019-04-09 10:10:25.230 (UTC+0550)] debug/client Decode a message of type GetEndpointsResponse

[2019-04-09 10:10:25.230 (UTC+0550)] info/client Found 3 endpoints

[2019-04-09 10:10:25.230 (UTC+0550)] info/client Rejecting endpoint 0: security mode doesn't match

[2019-04-09 10:10:25.230 (UTC+0550)] info/client Rejecting endpoint 1: security mode doesn't match

[2019-04-09 10:10:25.230 (UTC+0550)] info/client Endpoint 2 has 2 user token policies

[2019-04-09 10:10:25.230 (UTC+0550)] info/client Selected Endpoint opc.tcp://localhost:4840 with SecurityMode SignAndEncrypt and SecurityPolicy http://opcfoundation.org/UA/SecurityPoli

cy#Basic256Sha256

[2019-04-09 10:10:25.230 (UTC+0550)] info/client Selected UserTokenPolicy open62541-anonymous-policy with UserTokenType Anonymous and SecurityPolicy http://opcfoundation.org/UA/Securit

yPolicy#Basic256Sha256

[2019-04-09 10:10:25.230 (UTC+0550)] info/client Disconnect to switch to a different SecurityPolicy

[2019-04-09 10:10:25.230 (UTC+0550)] info/client Connecting to endpoint opc.tcp://localhost:4840

[2019-04-09 10:10:25.230 (UTC+0550)] debug/client Initialize the SecurityPolicy context

[2019-04-09 10:10:25.231 (UTC+0550)] info/client TCP connection established

[2019-04-09 10:10:25.231 (UTC+0550)] debug/network Sent HEL message

[2019-04-09 10:10:25.231 (UTC+0550)] debug/network Received ACK message

[2019-04-09 10:10:25.231 (UTC+0550)] debug/channel Requesting to open a SecureChannel

[2019-04-09 10:10:25.259 (UTC+0550)] debug/channel OPN message sent

[2019-04-09 10:10:25.310 (UTC+0550)] trace/channel Connection 3 | SecureChannel 0 | Decrypting chunk

[2019-04-09 10:10:25.341 (UTC+0550)] trace/channel Connection 3 | SecureChannel 0 | Chunk size before and after decryption: 2526, 2442

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 0 | Calculated padding size to be 332

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 0 | Verifying chunk signature

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 0 | Decrypted and verified chunk with request id 1 and sequence number 1

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 0 | Sequence Number processed: 1

[2019-04-09 10:10:25.342 (UTC+0550)] debug/client Decode a message of type OpenSecureChannelResponse

[2019-04-09 10:10:25.342 (UTC+0550)] info/client Opened SecureChannel with SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 2 | Generating new local keys

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 2 | Generating new remote keys

[2019-04-09 10:10:25.342 (UTC+0550)] debug/client Create a new session

[2019-04-09 10:10:25.342 (UTC+0550)] debug/client Sending a request of type 459

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 2 | Decrypting chunk

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 2 | Chunk size before and after decryption: 128, 128

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 2 | Calculated padding size to be 4

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 2 | Verifying chunk signature

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 2 | Decrypted and verified chunk with request id 2 and sequence number 2

[2019-04-09 10:10:25.342 (UTC+0550)] trace/channel Connection 3 | SecureChannel 2 | Sequence Number processed: 2

[2019-04-09 10:10:25.342 (UTC+0550)] debug/client Decode a message of type CreateSessionResponse

[2019-04-09 10:10:25.342 (UTC+0550)] error/userland Error: BadCertificateUriInvalid

[2019-04-09 10:10:25.343 (UTC+0550)] debug/securitypolicy Deleted members of EndpointContext for sp_basic128rsa15

[2019-04-09 10:10:25.343 (UTC+0550)] debug/securitypolicy Deleted members of EndpointContext for sp_basic256

[2019-04-09 10:10:25.343 (UTC+0550)] debug/securitypolicy Deleted members of EndpointContext for sp_basic256sha256

This is how the server and client certificates appear in text format:

opcua_server_certificate:

Certificate:

Data:

Version: 3 (0x2)

Serial Number: 11 (0xb)

Signature Algorithm: sha256WithRSAEncryption

Issuer: CN=IEICertToolSelfSignedtRootCA, L=$$$$

Validity

Not Before: Mar 28 11:22:58 2019 GMT

Not After : Mar 25 11:22:58 2029 GMT

Subject: CN=opcua_opcua, O=server

Subject Public Key Info:

Public Key Algorithm: rsaEncryption

Public-Key: (4096 bit)

Modulus:

00:cb:06:00:5d:c6:f4:06:1d:fb:e7:67:04:80:7e:

b5:d4:3a:86:75:4b:04:64:ba:f5:f7:69:d6:61:a8:

95:fd:30:3d:21:6e:3e:a8:4d:7b:a6:27:4a:b7:61:

40:15:7a:a3:84:18:57:6c:51:74:30:24:59:a6:78:

fb:76:90:4b:ff:a5:14:3f:58:6a:0b:04:a7:06:fb:

56:ec:3d:bc:b7:21:49:fb:81:e6:ab:f3:c6:a8:87:

9f:44:53:57:86:89:94:bf:a0:eb:cd:21:8f:b3:97:

6e:0b:97:9e:64:dd:8a:8d:af:8b:40:2c:a7:17:6c:

c5:ba:e0:c1:e9:08:d9:67:1c:c6:7a:20:f4:be:46:

73:81:93:ed:e9:75:bc:7c:7b:ae:98:fb:d2:5f:57:

64:22:81:3a:3e:b6:7e:d2:66:1e:68:8d:f4:5c:66:

69:fb:45:ca:5a:75:bc:01:80:61:9c:ee:13:62:ea:

23:01:e7:76:30:0e:1d:8d:01:8e:e2:9a:57:d2:f5:

0f:6c:e4:c6:ab:50:d2:22:5c:a5:65:47:c6:ba:b7:

c6:ef:ab:66:3a:3c:df:68:08:5e:aa:7e:36:76:6c:

11:84:9c:7d:e1:39:cc:61:bf:10:6c:5d:ee:2f:3b:

3b:dd:a6:ff:a8:29:9a:a9:ed:17:a6:09:56:91:de:

86:07:a3:00:b2:4a:2b:99:9f:2f:c2:0d:23:f5:51:

de:39:b5:94:46:94:12:69:e6:42:b0:63:5b:29:c8:

5e:48:db:5f:dc:b0:eb:57:af:e1:d8:da:fd:81:94:

28:76:c8:b3:c5:17:a5:47:65:5d:c0:06:0d:4d:a7:

56:eb:56:91:fb:25:14:6c:a9:71:80:8a:b9:84:44:

49:ea:70:42:29:c9:80:35:ee:c2:c6:4c:c4:a8:9a:

49:a9:d2:41:d0:24:f6:87:cb:04:94:0f:db:42:10:

4a:13:35:93:23:9b:09:25:86:24:d2:91:92:53:13:

fa:f8:23:85:28:0e:ff:72:64:53:12:bc:55:db:c4:

9a:01:0e:2c:a1:ff:0f:81:13:cb:37:c7:28:6c:da:

fd:9d:9f:12:41:5a:e9:94:6f:d0:a4:ac:75:1e:c4:

bb:54:90:0c:97:79:f0:ad:9e:75:d2:f3:db:4f:b1:

80:7a:66:a2:7c:81:48:82:7d:1f:fc:55:a9:75:cb:

44:87:a1:d8:63:a3:a1:80:b3:68:a4:a1:2e:09:f6:

8b:27:51:44:f5:ed:8a:d5:e7:2e:b2:95:37:25:3f:

03:73:78:8d:ad:9c:e9:db:6f:4f:78:79:97:21:fb:

4a:9f:ad:ef:b7:b2:99:61:ac:93:d6:01:18:6d:df:

f9:b0:81

Exponent: 65537 (0x10001)

X509v3 extensions:

X509v3 Basic Constraints:

CA:FALSE

X509v3 Key Usage:

Digital Signature, Key Encipherment

X509v3 Extended Key Usage:

TLS Web Server Authentication

X509v3 Subject Alternative Name:

DNS:localhost, DNS:opcua, DNS:10.223.210.50

X509v3 Subject Key Identifier:

32:4C:42:12:9F:FD:1F:8B:96:68:4B:23:9C:12:69:52:8D:70:E4:8E

X509v3 Authority Key Identifier:

keyid:06:4D:01:80:9D:7B:62:82:B6:97:29:AA:73:87:4C:DD:73:BF:07:8A

Signature Algorithm: sha256WithRSAEncryption

1d:76:97:d0:a5:e1:70:1d:92:12:6d:70:bb:d2:57:9a:2a:79:

8a:a5:4d:29:0f:66:5f:f7:dd:6f:73:ad:4e:72:5a:d6:e7:41:

43:6b:6e:19:25:15:c3:fa:6e:3b:19:1d:74:fe:42:2f:0c:2a:

ca:ae:e5:62:87:08:57:96:9d:76:6e:04:ff:31:a2:97:eb:37:

03:23:d6:3e:d5:3b:34:87:6a:0a:35:da:98:31:b5:23:c4:90:

92:2c:3d:69:da:b0:b2:ad:52:ce:29:cd:3e:40:70:64:07:a9:

49:22:74:ef:b4:71:01:20:af:fd:86:48:e9:b8:2a:91:bb:07:

9a:23:5a:de:12:64:09:cc:53:72:0a:7c:61:38:a6:58:57:6d:

65:bb:25:64:ad:e3:e1:22:6b:0a:91:17:8c:53:e7:63:09:59:

dd:ed:b8:20:2b:c2:fa:44:aa:f7:80:d1:c8:79:36:2d:b6:b3:

1d:47:fd:24:0b:a8:98:75:1c:a1:56:9b:2f:ee:2c:4e:a8:a3:

44:30:5d:d1:67:fa:ec:ac:fb:5d:d4:93:1a:0d:c7:10:61:80:

8d:b5:ce:8b:e5:18:cf:a5:89:22:5e:a3:27:e1:5c:5b:07:d6:

33:06:04:64:56:c5:b3:24:31:12:45:4d:fe:21:f2:ff:41:4c:

7d:9f:9b:4f:2f:17:40:51:da:3c:fa:c0:93:ca:d1:bf:bf:2a:

8f:b1:98:20:77:ba:8d:9f:8c:dc:e3:cc:d8:06:77:19:ce:45:

76:87:32:38:66:93:c9:6a:6e:e3:90:82:55:d2:32:c8:b1:52:

d3:16:79:69:00:3e:c1:b8:85:2a:a2:00:a9:74:73:54:50:66:

2a:9c:c2:b8:34:c0:74:80:17:61:63:64:cd:37:57:61:98:15:

4e:15:b8:8f:ba:7d:d3:32:bf:65:41:a4:05:ae:7d:b6:8b:d4:

3b:6c:48:9e:35:53:df:10:ec:db:f6:0e:e0:64:c4:df:68:cc:

12:68:0a:63:39:31:99:08:99:50:f3:e2:85:af:40:b1:37:72:

d3:42:c6:b1:ed:ee:8a:16:e3:bf:02:a6:4b:c3:5f:93:3f:fb:

d7:57:fc:f7:29:17:e9:10:69:fe:b8:73:67:16:d0:d8:d5:e3:

96:b5:3d:fe:f4:be:24:0c:5e:91:8f:8e:66:58:f4:b8:4a:18:

8a:9d:9d:c9:08:51:ea:61:ed:d5:49:23:9b:db:16:be:9e:44:

2e:62:b7:b8:b4:29:f7:53:26:75:f1:8e:71:66:a8:a5:90:77:

63:00:0f:da:69:42:e1:1e:f8:f7:fd:57:68:d0:5f:5b:35:56:

38:56:54:d3:c9:61:8e:cf

-----BEGIN CERTIFICATE-----

MIIFdTCCA12gAwIBAgIBCzANBgkqhkiG9w0BAQsFADA2MSUwIwYDVQQDDBxJRUlD

ZXJ0VG9vbFNlbGZTaWduZWR0Um9vdENBMQ0wCwYDVQQHDAQkJCQkMB4XDTE5MDMy

ODExMjI1OFoXDTI5MDMyNTExMjI1OFowJzEUMBIGA1UEAwwLb3BjdWF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6bjsZHXT+Qi8MKsqu5WKHCFeWnXZuBP8xopfr

NwMj1j7VOzSHago12pgxtSPEkJIsPWnasLKtUs4pzT5AcGQHqUkidO+0cQEgr/2G

SOm4KpG7B5ojWt4SZAnMU3IKfGE4plhXbWW7JWSt4+EiawqRF4xT52MJWd3tuCAr

wvpEqveA0ch5Ni22sx1H/SQLqJh1HKFWmy/uLE6oo0QwXdFn+uys+13UkxoNxxBh

gI21zovlGM+liSJeoyfhXFsH1jMGBGRWxbMkMRJFTf4h8v9BTH2fm08vF0BR2jz6

wJPK0b+/Ko+xmCB3uo2fjNzjzNgGdxnORXaHMjhmk8lqbuOQglXSMsixUtMWeWkA

PsG4hSqiAKl0c1RQZiqcwrg0wHSAF2FjZM03V2GYFU4VuI+6fdMyv2VBpAWufbaL

1DtsSJ41U98Q7Nv2DuBkxN9ozBJoCmM5MZkImVDz4oWvQLE3ctNCxrHt7ooW478C

pkvDX5M/+9dX/PcpF+kQaf64c2cW0NjV45a1Pf70viQMXpGPjmZY9LhKGIqdnckI

Ueph7dVJI5vbFr6eRC5it7i0KfdTJnXxjnFmqKWQd2MAD9ppQuEe+Pf9V2jQX1s1

VjhWVNPJYY7P

-----END CERTIFICATE-----

opcua_client_certificate:

Certificate:

Data:

Version: 3 (0x2)

Serial Number: 12 (0xc)

Signature Algorithm: sha256WithRSAEncryption

Issuer: CN=IEICertToolSelfSignedtRootCA, L=$$$$

Validity

Not Before: Mar 28 11:22:58 2019 GMT

Not After : Mar 25 11:22:58 2029 GMT

Subject: CN=opcua_opcua, O=client

Subject Public Key Info:

Public Key Algorithm: rsaEncryption

Public-Key: (4096 bit)

Modulus:

00:d6:77:82:1b:50:e1:19:22:57:5b:09:7e:f1:d1:

53:44:bf:85:ff:be:01:50:1f:96:4b:28:87:b8:4a:

be:f8:75:84:35:e1:f7:cf:fc:53:7e:47:9c:02:18:

44:eb:73:61:b9:92:d8:e1:43:e3:3e:52:cc:6e:15:

36:07:32:48:44:54:d8:f6:70:b1:57:ed:4a:a1:4e:

91:26:37:55:f0:e8:37:ef:01:60:c4:8c:39:23:b5:

cd:b0:ff:c0:50:ac:ac:53:a4:d9:18:73:e2:ae:cb:

00:c4:05:f2:43:f7:a6:b7:17:0b:97:c2:98:42:11:

9a:cd:f1:08:e7:ec:1c:00:21:0b:93:c4:57:94:10:

53:bb:2c:41:d3:96:37:22:03:5b:f6:2a:50:f6:c3:

6f:d1:92:25:25:71:07:e0:eb:f3:c4:ac:31:df:34:

04:a9:68:e4:c8:6a:ab:e1:62:77:f8:67:10:63:da:

66:9c:ed:31:b4:0e:9f:9f:ef:35:ef:e1:fc:12:93:

b9:a7:bc:96:45:49:f8:4f:44:b6:2a:ce:dd:20:9b:

63:d7:00:c4:57:28:b6:2c:b7:16:c0:7a:77:1f:66:

cc:36:ae:78:03:f3:a5:f4:6e:a5:b8:4e:6f:3a:7b:

ef:54:ef:28:8b:0a:46:0a:a6:0b:69:d1:80:41:9f:

2e:ee:c3:ff:c7:ad:93:bd:35:08:73:c4:ff:a4:e0:

2c:0a:f0:f9:13:fb:0e:41:91:bd:1e:ee:3e:87:70:

7f:e8:07:f7:8e:47:fa:9d:85:38:06:43:d4:b9:3e:

eb:96:a1:21:ea:89:b7:31:61:34:60:c7:54:06:89:

d0:8f:0e:6b:dd:86:49:ed:94:1d:95:47:85:00:86:

ea:bb:aa:2f:c1:fb:dd:4a:38:8b:7a:57:15:1e:f0:

54:0f:1f:d7:35:aa:51:8e:c2:0f:84:6e:8f:1e:3a:

33:22:e8:2a:dd:65:2a:57:e6:51:80:90:ea:46:78:

a4:ba:b1:60:61:7c:de:eb:2f:83:13:94:60:60:46:

0d:ae:1e:c1:40:74:98:c2:79:7e:9e:0a:84:5d:60:

a4:3e:3d:1c:fd:36:c6:ed:b6:aa:47:df:f2:f3:d6:

0f:b3:42:f2:88:90:5c:a6:ba:4f:1f:a9:30:60:27:

fa:b8:4d:2b:11:89:97:99:4f:26:7e:cf:89:d9:dd:

db:43:d6:57:cd:c6:6c:de:24:32:7c:24:cb:a8:28:

47:aa:2d:c4:9a:8e:1f:c9:e2:18:0e:67:0b:e9:a0:

90:ee:6f:aa:ba:89:db:9c:93:c4:76:e6:a9:78:70:

c9:b8:16:5e:57:81:97:56:b1:03:e1:e4:b2:5e:ba:

95:1c:d5

Exponent: 65537 (0x10001)

X509v3 extensions:

X509v3 Basic Constraints:

CA:FALSE

X509v3 Key Usage:

Digital Signature, Key Encipherment

X509v3 Extended Key Usage:

TLS Web Client Authentication

X509v3 Subject Alternative Name:

DNS:localhost, DNS:opcua

Signature Algorithm: sha256WithRSAEncryption

a9:10:76:70:5a:39:9e:cc:3d:ef:19:08:48:73:8d:8a:e6:27:

91:90:9c:3e:6a:82:a1:22:08:62:9b:8c:66:c5:22:52:43:15:

8f:fe:db:46:d7:23:2d:25:f5:23:61:8d:eb:d7:dd:59:d1:67:

bd:73:dd:2b:9b:f9:d7:d6:10:2d:53:67:4c:b0:f3:db:db:6c:

07:01:79:19:49:84:8e:e2:44:a8:45:55:26:34:a2:f4:d0:ad:

41:98:59:c8:be:f3:ba:cb:ba:4d:e8:fa:ae:e1:e7:f4:c3:ec:

a3:76:e1:6d:80:9a:c0:a1:f5:da:19:3d:b0:91:70:0b:c5:d1:

11:d4:ac:4e:81:48:5f:c9:b9:31:36:c9:8b:39:78:62:d4:1e:

23:bb:4f:6e:02:d2:e4:7e:66:0e:0d:fc:4c:3c:50:5b:fe:47:

41:45:06:c7:99:62:6d:15:07:f0:4f:f9:01:b0:ec:d4:3a:6d:

6d:77:66:65:03:6a:77:6b:7e:3a:fc:b4:c8:78:69:a3:dc:d2:

1b:e9:d5:ff:29:5a:ff:2b:55:6a:6f:d0:92:09:a5:3b:2b:a3:

62:51:b9:f7:be:bd:65:39:66:4b:32:04:46:87:ec:03:08:48:

c7:50:93:64:a7:22:8b:26:27:bb:d5:e1:de:d5:44:89:1f:02:

78:46:d2:74:1a:66:62:5b:f3:79:f9:8b:5b:4a:9c:d3:7c:23:

fa:97:07:77:b3:d6:c1:81:ab:70:a4:51:8a:99:41:7f:bf:1a:

d3:25:af:75:31:14:dd:04:33:f4:68:02:f1:6c:d6:7c:a5:04:

29:6b:5a:0e:a4:cd:10:ae:eb:1c:a2:ef:b1:da:c6:58:0b:03:

c2:88:be:93:9c:a4:ab:ad:ac:60:9a:1a:73:07:4e:ce:c5:81:

50:7a:1e:eb:65:c3:cb:41:54:84:95:58:0a:b1:e0:f7:fc:3d:

87:21:64:fd:60:c7:8b:a0:f9:80:6f:3f:c3:ff:e3:35:7b:a3:

4b:e2:cc:85:b7:1b:d1:d0:92:d2:6c:d1:dc:38:3f:24:8c:57:

85:80:fe:0e:0d:96:b7:7d:fa:81:12:44:2a:c3:e3:08:4d:bc:

f7:0a:cb:c2:9e:82:1e:b0:72:b1:26:7e:9f:1d:08:8e:56:6b:

dd:8b:21:98:b5:5b:4c:6d:5f:8a:63:31:28:10:be:19:02:7a:

0e:b2:93:93:d1:96:fc:37:01:bd:1a:93:7e:f9:d0:73:82:c9:

b4:61:11:09:be:01:45:6a:9c:12:cf:b4:81:a5:63:db:73:06:

bd:09:05:71:3c:ea:03:a0:02:14:6f:f5:d9:ba:bf:6b:d1:d8:

93:9c:e7:89:72:92:d4:9d

-----BEGIN CERTIFICATE-----

MIIFJDCCAwygAwIBAgIBDDANBgkqhkiG9w0BAQsFADA2MSUwIwYDVQQDDBxJRUlD

ZXJ0VG9vbFNlbGZTaWduZWR0Um9vdENBMQ0wCwYDVQQHDAQkJCQkMB4XDTE5MDMy

ODExMjI1OFoXDTI5MDMyNTExMjI1OFowJzEUMBIGA1UEAwwLb3BjdWFfb3BjdWEx

DzANBgNVBAoMBmNsaWVudDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIB

ANZ3ghtQ4RkiV1sJfvHRU0S/hf++AVAflksoh7hKvvh1hDXh98/8U35HnAIYROtz

YbmS2OFD4z5SzG4VNgcySERU2PZwsVftSqFOkSY3VfDoN+8BYMSMOSO1zbD/wFCs

rFO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KnNN8I/qXB3ez1sGBq3CkUYqZQX+/GtMlr3UxFN0E

M/RoAvFs1nylBClrWg6kzRCu6xyi77HaxlgLA8KIvpOcpKutrGCaGnMHTs7FgVB6

Hutlw8tBVISVWAqx4Pf8PYchZP1gx4ug+YBvP8P/4zV7o0vizIW3G9HQktJs0dw4

PySMV4WA/g4Nlrd9+oESRCrD4whNvPcKy8Kegh6wcrEmfp8dCI5Wa92LIZi1W0xt

X4pjMSgQvhkCeg6yk5PRlvw3Ab0ak3750HOCybRhEQm+AUVqnBLPtIGlY9tzBr0J

BXE86gOgAhRv9dm6v2vR2JOc54lyktSd

-----END CERTIFICATE-----

Let me know if you need any further information, i'll be happy to provide you.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值