to generate a key on a 501 pix:

ca generate rsa key 1024

to get rid of the keys in store :

ca zeroize rsa