Ulrich Kroener wrote:
> 
> Hello!
> 
> My client company has a CA based on "UNICert" from an Irish software
> company "Baltimore". I recently submitted a PEM certificate
> request to this program, and received a PEM output. So far,
> so good.
> 
> However, I still need my PEM certificate, so we tried
> to convert the DER CA certificate. But to no avail: the DER
> certificate is encoded in binary format, and SSLeay complains:
> 
> Under U-Nix:
>  $ ssleay x509 -in ETrustCA.der -outform PEM -out ETrustCA.pem

The default format is PEM so you need to specify -inform DER so it
expects the input in DER format. I've tried it on the certificate and it
works fine.

Steve.
-- 
Dr Stephen N. Henson.
UK based freelance Cryptographic Consultant. For info see homepage.
Homepage: http://www.drh-consultancy.demon.co.uk/
Email: [EMAIL PROTECTED]
PGP key: via homepage.

+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/  |
+-------------------------------------------------------------------------+

Reply via email to