Importcertsms - Certificates not imported when importing from certdump.txt #646
Replies: 2 comments 5 replies
-
Would you mind sharing what a row looks like? The command expects lines in certdump.txt file to start with something like "Row " followed by colon, "User Principal Name" : etc. I don't have an example file, but like to confirm that your file looks correct. Unless a line starts with "Row" it will not be read. |
Beta Was this translation helpful? Give feedback.
-
Got pulled away from this project but finally had time to return and keep testing. After a day, I realized the issue...charset. The default charset of certdump.txt was ascii, and the importcertsms help page actually mentions if charset isn't specified then UTF-16 will apply. As soon as I specified UTF-8, I was back in business. |
Beta Was this translation helpful? Give feedback.
-
Hey folks, I'm ditching my Windows CA and transitioning over to EJBCA CE.
I'm already moved the CA keys and certificate over to the EJBCA host, but when attempting to import the cert DB from the certdump.txt file, the output states no rows were imported. This is just a test install, so there are only two certificates in the certdump.txt file.
This is the documentation I'm following.
Steps to reproduce:
certdump.txt
to EJBCA host.certdump.txt
to docker container (ejbca node) and place it in /opt/keyfactor/bin./ejbca.sh ca importcertsms --caname <name of my ca> -f certdump.txt --verbose
The output from the container results in the following:
I've confirmed that the certdump.txt file does indeed contain two certificates, in PEM format. Anyone have any ideas as to what could cause the certificates to be omitted?
Beta Was this translation helpful? Give feedback.
All reactions