Re: RSA private key file created with Windows10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you immediately answer.

PKCS8, PEM, and RFC4716 formats were created and tested with the ssh-keygen command.

PKCS8 and PEM formatting was successful.

RFC4716 is the default on Windows10, and PEM is the default on CentOS7.

Does OpenSSL have any plans to support RFC4716 format in the future?

best regards, thank you
Setsuo Imazu

On 2022/10/05 15:36, Tomas Mraz wrote:
Hello,
most probably the key is stored in the OpenSSH private key format.
You'll need to use ssh-keygen -p -m PKCS8 to convert the key into a
format that OpenSSL can read.

Tomas Mraz, OpenSSL

On Wed, 2022-10-05 at 15:00 +0900, Imazu Setsuo wrote:
Hello.

When I read the RSA private key file created with the ssh-keygen
command that comes with Windows 10 with the PEM_read_PrivateKey()
function, the following error occurred.

error: 0906D06C: lib(9): func(109): reason(108)

The platform is CentOS7, OpenSSL 3.0.5.
Is the private key file created with Windows 10 not supported?
How can I use the private key file created in Windows 10 as well?


best regards, thank you
Setsuo Imazu




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux