Together with encryption, security certificates are essential to securely send data over the internet. Here's how they work.