Skip to content

Check transport and peer identity

Knowledge check · self-test

Check transport and peer identity

A secure connection makes several separate promises: that the other side is who it claims to be, that the data is hidden, and that changes are detected. Having encryption does not mean all of them hold. The check below tests which promises an encrypted connection still gives when one of them, such as server identity, is missing. Checking a certificate has two parts: confirming that it chains to a trusted authority and is still valid, and confirming that it was issued for the very server you meant to reach. Skipping the second part leaves a connection that looks secure but may be going to the wrong party. The check below tests whether you can see why.

Back to the chapter →

A secure connection makes several separate promises: that the other side is who it claims to be, that the data is hidden, and that changes are detected. Having encryption does not mean all of them hold. The check below tests which promises an encrypted connection still gives when one of them, such as server identity, is missing. Checking a certificate has two parts: confirming that it chains to a trusted authority and is still valid, and confirming that it was issued for the very server you meant to reach. Skipping the second part leaves a connection that looks secure but may be going to the wrong party. The check below tests whether you can see why.

Back to TLS and DTLS for IoT: Review a CoAP/DTLS Sensor Link