From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Date: Thu, 27 Nov 2008 16:59:16 +0300 From: "Konstantin A. Lepikhov" To: ALT Linux sysadmin discuss Message-ID: <20081127135916.GA12649@lks.home> References: <20081127153104.2a614158@batyrshin.kzn.ieml.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: <20081127153104.2a614158@batyrshin.kzn.ieml.ru> X-Operation-System: ALT Linux Sisyphus (20071221) 2.6.26-wks-pae-alt5 User-Agent: Mutt/1.5.18 (2008-10-30) Subject: Re: [Sysadmins] openssl RSA X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2008 14:02:16 -0000 Archived-At: List-Archive: --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Timur! Thursday 27, at 03:31:04 PM you wrote: > =F0=D9=D4=C1=C0=D3=D8 =D0=D2=CF=D7=C5=D2=C9=D4=D8 =D0=D2=C9=D7=C1=D4=CE= =D9=CA =CB=CC=C0=DE CA: >=20 > [root@nginx private]# openssl rsa -check -in cakey.pem=20 > Enter pass phrase for cakey.pem: > unable to load Private Key > 25940:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong > tag:tasn_dec.c:1294: > 25940:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested > asn1 error:tasn_dec.c:380:Type=3DRSA=20 > 25940:error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 > lib:d2i_pr.c:99:=20 > 25940:error:0907B00D:PEM routines:PEM_READ_BIO_PRIVATEKEY:ASN1 > lib:pem_pkey.c:125: >=20 > =F0=C1=D2=CF=CC=D8, =D7=D2=CF=C4=C5 =C2=D9 =D0=D2=C1=D7=C9=CC=D8=CE=D9=CA= , =D4.=CB. =D0=D2=C9 =CC=C0=C2=CF=CD =C4=D2=D5=C7=CF=CD =D0=C1=D2=CF=CC=C5 = =D7=D9=C4=C1=C5=D4 > =D3=CC=C5=C4=D5=C0=DD=C5=C5 =D3=CF=CF=C2=DD=C5=CE=C9=C5: >=20 > [root@nginx private]# openssl rsa -check -in cakey.pem=20 > Enter pass phrase for cakey.pem: > unable to load Private Key > 26006:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad > decrypt:evp_enc.c:461: > 26006:error:0906A065:PEM routines:PEM_do_header:bad > decrypt:pem_lib.c:425: >=20 > =F7 =DE=C5=CD =CD=CF=D6=C5=D4 =C2=D9=D4=D8 =D0=D2=CF=C2=CC=C5=CD=C1?=20 =C1 =CB=CC=C0=DE =D4=CF=DE=CE=CF rsa? =F3=CF=DA=C4=C1=CE =D3=D2=C5=C4=D3=D4= =D7=C1=CD=C9 openssl? =F0=CF=D3=CB=CF=CC=D8=CB=D5 rsa(1) =C7=CF=D7=CF=D2=C9= =D4 =DE=D4=CF BUGS The command line password arguments don't currently work with NET format. --=20 WBR et al. --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFJLqe0VtlNyKwhNDsRAoznAKCalK5fdzS8idUcyAFq442yhnK18gCfVo1Q J951v+RzKhSwqyzcIZ1RbAE= =aCd9 -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--