On 28/03/2019 17:18, Ethan Jensen wrote: > On Thu, Mar 28, 2019 at 11:11 AM Mark Thomas <[email protected]> wrote:
<snip/> >> Can you post the header of your private key file? It should look >> something like: >> >> -----BEGIN RSA PRIVATE KEY----- >> Proc-Type: 4,ENCRYPTED >> DEK-Info: AES-256-CBC,D02DE734A8C2DBA625FC4180E7AECC78 >> >> Thanks, >> >> Mark >> >> > Here you are: > > Bag Attributes > localKeyID: 14 A3 77 23 14 44 3E 99 FD 7D A4 BE C3 4C 10 D0 DD 5A DA 0B > friendlyName: mydomain.com > Key Attributes: <No Attributes> > -----BEGIN ENCRYPTED PRIVATE KEY----- Bingo. That is a PKCS#8 format file that OpenSSL understands but JSSE does not. The fix I had in mind does work. Now I understand why the problem occurred and can confirm that the fix works I'll apply it for the next release. A a workaround you can convert that private key to PKCS#1 format. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
