On Tue, Jan 6, 2015 at 12:37 AM, Viktor Dukhovni <openssl-users at dukhovni.org> wrote: > On Tue, Jan 06, 2015 at 12:23:35AM -0500, Jeffrey Walton wrote: > >> Use -outform to control the output encoding. I think the two values of >> interest are DER and PEM. > > What actually matters are multiple ASN.1 key formats. Whether the > ASN.1 is raw binary or packaged in PEM is secondary. > It seems to me he's interested in using the same format so the keys don't diff across commands. He should probably pick something (-outform PEM or DER) and use it consistently to satisfy his requirements. If I misread, then my apologies.