The game freezes after I click "Generate Your Key"
This is supposed to happen, as your PC is now generating the RSA key pair for your account certificate. The time required to do this can range from a couple seconds to several minutes on newer hardware. Do not close or terminate the game, instead go run some errands, or read a book until it completes.