Getting error in creating signed SMIME data

I’ve written a sample service to create a signed SMIME data but while executing that service i am encountering below mentioned error.

Error: [ISS.0086.9053] Certificate file not in any recognizable format

Any any is having any idea about this error.

Now i am getting different error. [ISS.0086.9054] Could not create signed SMIME object -1

Can any one help me on the above error.