Question: what is the difference between public key and certificate?
Answer: Public-key cryptography is based on the concept of a key pair, which consists of a public key and a private key. Data that has been encrypted with a public key can be decrypted only with the corresponding private key. ... A certificate verifies that an entity is the owner of a particular public key.