(newbie) Importing certificate with keytool..?

I'm trying to import a certificate with:

* keytool -import -alias mycert -file lalakis.pem

but I keep getting:

~ keytool error: java.lang.Exception: Input not an X.509 certificate

It is:

- An OpenSSL generated certificate with

- Signature Algorithm: PKCS #1 MD5 With RSA Encryption and

- Subject PK Algorithm: PKCS #1 RSA Encryption

Should I use some other options..?

[429 byte] By [ypomonha] at [2007-11-27 4:41:30]
# 1
Normally OpenSSL certificate includes extra human readable information. Please remove all characters before --BEGIN CERTIFICATE- and after -END CERTIFICATE-- (including blank lines), and try again.
wangwja at 2007-7-12 9:52:53 > top of Java-index,Security,Cryptography...