The primary difference between PKI and secure sockets layer (SSL) is that SSL uses a certificate that sits on a secured server, and this is used to encrypt data associated with that server. PKI, on the other hand, uses a pair of cryptographic keys, and these are shared through the use of a certificate authority(CA).