自动回复: Re: How to distinguish between encrypted/unencrypted key in a PEM file

2022-01-27 Thread 562430030 via openssl-users
您好,您的邮件我已收到,我会尽快阅读,谢谢!

Re: How to distinguish between encrypted/unencrypted key in a PEM file

2022-01-27 Thread Viktor Dukhovni
> On 26 Jan 2022, at 9:14 am, Bartlomiej wrote: > > I have a PEM file on the device which can contain an encrypted/non-encrypted > private key. When it's encrypted, it's using PBES/PBKDF. The file is accessed > from a C++ application which uses the OpenSSL library. If the key is > encrypted, t

Re: Openssl req signs certificate with "Basic Constraints: CA: TRUE"

2022-01-27 Thread Glen Huang
Thanks Matt, After disabling the default config, basic constraints are omitted. It seems a more revealing description is in “-config”: for a description of the default value, see "COMMAND SUMMARY" in openssl(1). I didn’t know “-config" has a default value and it usually points to the one shipp

Re: Openssl req signs certificate with "Basic Constraints: CA: TRUE"

2022-01-27 Thread Matt Caswell
On 27/01/2022 06:00, Glen Huang wrote: Hi, I’m trying to create a signed certificate from a CA certificate without creating a CSR first. From the doc, I came up with this command: ``` openssl req -CA ca.crt -CAkey ca.key -key leaf.key -subj ‘/CN=leaf’ -out leaf.crt ``` However, ``` opens