Implement generation of client certificate