Hello
I try to make ca signature about following case.
1. Kx=DH, ECDH
2. Au=ECDSA
3. Enc=DES(56),3DES(168),RC4(40), rc4(128)

For example I would like to know following cipher zuite.
EDH-RSA-DES-CBC3-SHA
ECDHE-ECDSA-AES256-SHA
RC4-MD5
EXP-DES-CBS-SHA

But I can not find the way.

For example, I tried following to make rc4 ca signature but I got errors.

OpenSSL> genrsa -out keyRC4-40.pem
Loading 'screen' into random state - done
Generating RSA private key, 512 bit long modulus
.........++++++++++++
.....++++++++++++
e is 65537 (0x10001)
OpenSSL> rsa -in keyRC4-40.pem  -rc4-40 -out RC4-40.pem
writing RSA key
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
OpenSSL> req -new -x509 -key RC4-40.pem -out carc4-40.crt

Enter pass phrase for RC4-40.pem:
unable to load Private Key
4204:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too
long:.\crypto\asn1\asn1_lib.c:150:
4204:error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object
header:.\crypto\asn1\tasn_dec.c:1306:
4204:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1
error:.\crypto\asn1\tasn_dec.c:381:Type=RSA
4204:error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA
lib:.\crypto\rsa\rsa_ameth.c:115:
4204:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too
long:.\crypto\asn1\asn1_lib.c:150:
4204:error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object
header:.\crypto\asn1\tasn_dec.c:1306:
4204:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1
error:.\crypto\asn1\tasn_dec.c:381:Type=PKCS8_PRIV_KEY_INFO
4204:error:0907B00D:PEM routines:PEM_READ_BIO_PRIVATEKEY:ASN1
lib:.\crypto\pem\pem_pkey.c:132:
error in req

Would you teach me the correct process ?

Thanks

Reply via email to