Set current certificate to selected certificate.