Hello,
Does your certificate file ("srcert") have the complete certification chain in it?
If not, you need to first import the certification chain (certificate of the root CA, and the certificate of any intermediate CA).
Then the import should work.
Regards,
Isaías