Client certificate

Is is possible to install a client certificate for Spark? If so how do you generate the request

and then where do you put it? I’'m looking for a way to restrict access to Spark clients

that have a client personal certificate. Thanks.