I think that you must import before anything else the certificate of the CA in the certificate database, as a trusted CA (I guess you have created your own CA to sign certificates).
Then you can import certificates issued by that CA.
If you haven't already read
this, take a look as it could be useful to your task.
Regards