Problem importing server certificate to CyanogenMod 9.1
I'am having trouble importing a self signed certificate to my Sony Ericsson xperia Arc S running Cyanogenmod 9.1...


AOSP/Android does not support self signed server certificates for the system's Trust Store, and they make it (nearly?) impossible to import them. I know you can't import them for use in, for example, com.android.browser. Also see this related stack exchange question: Self-signed certificate install claims success, but android acts as if cert isn't there.

If you want to certify one of your servers, you have to become your own CA. You will be able to import your own CA's certificate. Also see Work with certificates on Google's Android help. Notice they work with CA and client certificates; but not self signed server certificates.

The browser's unwillingness to use self signed server certificates will be a pain point for the Internet of Things (IoT), where you try and connect to your refrigerator or thermostat to program it. The W3C's working group has not even begun to tackle the problem. See Proposal: Marking HTTP As Non-Secure on the W3C mailing list.

If you want to become your own CA, then see questions like How do you sign Certificate Signing Requests with your Certification Authority? and How to create a self-signed certificate with openssl?.




  I tried to get it into the system certificates ....


The system Trust Store is burned into the ROM, so you really can't do anything with it. When you modify the Trust Store, you are actually tweaking /data/misc/keychain and one of two files: cacerts-added and cacerts-removed. See Nikolay Elenkov's ICS Trust Store Implementation.