In order for the client device to authenticate, say, on a remote server, the client must have a private key associated with the certificate, and not just the certificate.
In client-side authentication, for example, the client signs (encrypts) the call with its private key. This private key corresponds to the public key in its certificate. Unlike the public key of a certificate, the client must protect its private key.
The server then uses the public key in the client certificate to verify the client signature.
However, the server should rely only on the public key in the certificate to verify the clientβs signature, if it trusts the issuing CA, the certificate is still in its valid period and has not been revoked.
source share