Lines Matching refs:cert
24 # ca-cert.pem - The certificate of the CA that signed Server and Client
25 # server-cert.pem - Contains the server certificate in PEM format
27 # client-cert.pem - Contains the server certificate in PEM format
55 p11tool --so-login --load-certificate ca-cert.pem --write --label ca-cert \
65 # (Use different id to private key, but not the same as CA/Client cert)
66 openssl x509 -in server-cert.pem -out server-cert.der -outform DER
68 --write-object ./server-cert.der --type cert --id aa01 \
69 --label "server-cert" --token-label "token-0"
78 # (Use different id to private key, but not the same as CA/Client cert)
79 openssl x509 -in client-cert.pem -out client-cert.der -outform DER
81 --write-object ./client-cert.der --type cert --id bb01 \
82 --label "client-cert" --token-label "token-0"
91 # Run coap-server using PKCS11 (-C option may need to be -C cert.der)
103 coap-server -C 'pkcs11:token=token-0;object=ca-cert' \
104 -c 'pkcs11:token=token-0;object=server-cert' \
108 # Run coap-client using PKCS11 (-C option may need to be -C cert.der)
120 coap-client -C 'pkcs11:token=token-0;object=ca-cert' \
121 -c 'pkcs11:token=token-0;object=client-cert' \