After accidentally running “./CA newca” from /etc/pki/tls/misc, I noticed a few files getting updated in /etc/pki/CA, and possibly more. But there weren’t any prompts when running the command like there normally is. I meant to run the “./CA -sign” command instead to add to the current CA. Will this have any consequences? I’ve created a new CA in the past, and I’ve always had to remove these files, yet none of these got changed, but that doesn’t necessarily mean “other” files don’t get updated when creating a new CA.
# rm –f /etc/pki/CA/*
# rm –f /etc/pki/CA/private/cakey.pem
# rm –f /etc/pki/CA/newcerts/*
# rm –f /etc/pki/tls/misc/newreq.pem
# rm –f /etc/pki/tls/misc/newcert.pem
Here are the files that got updated:
/etc/pki/CA/serial
/etc/pki/CA/index.txt.old
/etc/pki/CA/index.attr
/etc/pki/CA/index.txt
Continue reading Impacts of running "./CA newca" command in /etc/pki/tls/misc/ when CA already exists→