ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Timur Batyrshin <batyrshin@ieml.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] openssl RSA
Date: Thu, 27 Nov 2008 17:34:51 +0300
Message-ID: <20081127173451.38d07656@batyrshin.kzn.ieml.ru> (raw)
In-Reply-To: <20081127135916.GA12649@lks.home>

[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]

On Thu, 27 Nov 2008 16:59:16 +0300
Konstantin A. Lepikhov wrote:

> > Пытаюсь проверить приватный ключ CA:
> > 
> > [root@nginx private]# openssl rsa -check -in cakey.pem 
> > В чем может быть проблема? 
> а ключ точно rsa?

В нем указаны такие строки:

erthad@batyrshin ~/ssl/private $ cat cakey.pem 
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,6BC93526E7ED215E

..........здесь шифрованный текст......................
-----END RSA PRIVATE KEY-----

Какие еще могут быть типы приватных ключей для CA? Проверил бы и их.

> Создан средствами openssl?

Да, на этом же хосте, openssl той же версии. Как именно его создавал, к
сожалению не помню.

> Поскольку rsa(1) говорит что
> 
> BUGS The command line password arguments don't currently work with NET
> format.

Пароль я вручную ввожу. И если бы был не RSA -- разве не выдавалась бы
одна и та же ошибка как на правильный пароль, так и на неправильный?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-11-27 14:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-27 12:31 Timur Batyrshin
2008-11-27 13:59 ` Konstantin A. Lepikhov
2008-11-27 14:34   ` Timur Batyrshin [this message]
2008-11-27 21:07     ` Konstantin A. Lepikhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081127173451.38d07656@batyrshin.kzn.ieml.ru \
    --to=batyrshin@ieml.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git