self-signed certificate

I am having trouble creating a self-signed certificate, I get to a certain point in the CMD and get a message that staes it is creating a certificate with a validity of 10,000 days, but when I go back into the jdk bin I have no certificate, help!