I had a similar problem. I kept getting the same error "Error creating keystore file". I then did what Thomas did and it worked. I first set the password (the Sign Key window closes), opened the sign key window, entered the details again then clicked "Create New" and it worked.