Content-Type: multipart/mixed; boundary="===============5663426596570184272==" MIME-Version: 1.0 From: Denis Kenzior Subject: Re: [PATCH 7/7] unit: Test loading encrypted private key PEM files Date: Mon, 14 Aug 2017 15:35:15 -0500 Message-ID: <2686b309-ffe2-9f06-fefc-a234fcebb1ea@gmail.com> In-Reply-To: List-Id: To: ell@lists.01.org --===============5663426596570184272== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Andrew/Mat, On 08/14/2017 11:44 AM, Mat Martineau wrote: > = > Andrew, > = > On Mon, 14 Aug 2017, Andrew Zaborowski wrote: > = >> New test cert files are encrytped versions of cert-client-key-pkcs8.pem >> generated with: >> >> openssl pkcs8 -in cert-client-key-pkcs8.pem -out = >> cert-client-key-md5-des.pem -topk8 >> >> openssl pkcs8 -in cert-client-key-pkcs8.pem -out = >> cert-client-key-v2-des.pem -topk8 -v2 des-cbc >> >> openssl pkcs8 -in cert-client-key-pkcs8.pem -out = >> cert-client-key-v2-des-ede3.pem -topk8 -v2 des-ede3-cbc >> >> openssl pkcs8 -in cert-client-key-pkcs8.pem -out = >> cert-client-key-v2-aes128.pem -topk8 -v2 aes128 >> >> openssl pkcs8 -in cert-client-key-pkcs8.pem -out = >> cert-client-key-v2-aes256.pem -topk8 -v2 aes256 > = > Please update unit/gencerts.sh to create these files too. This makes it = > easy to regenerate them when the certs expire and ensures that the = > commands are documented for developers who don't have the git history = > handy. > = Yes, please do this. I've applied this patch in the meantime. By the way, on my Gentoo box I get: bash: unit/gencerts.sh: /usr/bin/sh: bad interpreter: No such file or = directory Should we drop the .pem files from the tree and simply use gencerts.sh = when running configure? Regards, -Denis --===============5663426596570184272==--