0

I was using the process detailed here to generate a SSL cert for tomcat:

GoDaddy tomcat installation docs

I made a mistake and put the wrong CN name when prompted by the keystore command, and when I tried to start over, I got the error "key pair not generated".

How can I fix it?

1 Answer 1

2

To fix it, I simply got rid of the 2 files that the tutorial created ("crt.crt" file and "tomcat.keystore") and then I could start the process over again. And as suggested in the comments, backup your original files before doing this.

3
  • 2
    As a (paranoid) word of caution to other people who may come across this post, I'd suggest backing up the crt and keystore files prior to removing them. =)
    – Mike B
    Jun 13, 2012 at 17:05
  • a wise suggestion! I'll add that to my answer.
    – Brad Parks
    Jun 13, 2012 at 17:15
  • as a slight aside, you can create the PEM file for this process by following this: stackoverflow.com/a/5596842/26510
    – Brad Parks
    Sep 3, 2012 at 1:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .