fetch user certificate to generate credentials