A Deep Dive into Public Key Infrastructure