Replies: 2 comments 2 replies
-
Question: |
Beta Was this translation helpful? Give feedback.
-
Are you sure you want the private keys stored by the CA? Typically you don't want to store you server private keys on the CA. I can understand how this happens if you generate server side keys and then they are just kep. You can generate keys by the CA in EJBCA as well, but as standard they are not stored. This because they are not needed by the CA, and if the server needs a new cert is should generate a new private key as well. If you don't really need those private keys, just use "importcerts". If you are really really sure you need those private keys stored for key recovery purposes, yes you can use keyrecoveryimport. |
Beta Was this translation helpful? Give feedback.
-
Hi!
I am on my way of migrating a PKI based on the XCA tool (https://hohnstaedt.de/xca/) to EJBCA. At the moment I have my CA (root and intermediate) certs/keys and a whole lot of server certs with their private keys as PEM files, no user certs atm.
The steps which succeeded so far:
So far, so good.
Now, I'd like to import the bunch of server certs I already have with their private keys. From my understanding this should be end entities. But I am not sure how to do that. Everything I find in the documentation is about importing certs, but nothing has been written about importing the private keys accordingly. But a server cert is useless without its associated private key. And I find no information if the PEM files used for the import should contain the private key beside the certificate. And, btw., where can I download a private key separate from the certificate of an end entity?
I admit, perhaps it is no technical problem but me not understanding conceptual things... please, if someone can help, tell me what am I doing or understanding wrong here.
Regards,
Holger
Beta Was this translation helpful? Give feedback.
All reactions