i'm looking for a way to export my openssl certificate (the public part) used by apache2 (.pem file) to import it to an android device's credential storage (Settings menu> Security > Credential storage > Install from device storage) as explained here http://davdroid.bitfire.at/configuration#c77
what's the proper openssl command line to export it in the desired format (DER)?