Re: [openssl-users] public key

2009-05-19 Thread Victor B. Wagner
On 2009.05.19 at 16:46:14 +0530, naveen.bn wrote: >What is the contents on which CA would have signed from his private key. I >want to know it because if an attacker replaces his public key in the >server certificate which i get than its game over for me . See RFC3280. Block of signe

Re: [openssl-users] public key

2009-05-19 Thread naveen.bn
What is the contents on which CA would have signed from his private key. I want to know it because if an attacker replaces his public key in the server certificate which i get than its game over for me . Victor B. Wagner wrote: On 2009.05.19 at 15:24:43 +0530, naveen.bn wrote: Thank yo

Re: [openssl-users] public key

2009-05-19 Thread Victor B. Wagner
On 2009.05.19 at 15:24:43 +0530, naveen.bn wrote: >Thank you . > >Can i include the public key generated below to a certificate and if >possible how can it be done. > >openssl rsa -pubout -in priv.pem -out pub.pem I think there is no easy way to do it. Certificates are typicall

Re: [openssl-users] public key

2009-05-19 Thread naveen.bn
Thank you . Can i include the public key generated below to a certificate and if possible how can it be done. openssl rsa -pubout -in priv.pem -out pub.pem Erwann ABALEA wrote: Bonjour, Hodie XIV Kal. Iun. MMIX, naveen.bn scripsit: I have used this command to obtain public key in hex but

Re: [openssl-users] public key

2009-05-19 Thread Erwann ABALEA
Bonjour, Hodie XIV Kal. Iun. MMIX, naveen.bn scripsit: > I have used this command to obtain public key in hex but, how to get > the individual value of public key ( n,e). > openssl x509 -modulus -noout -inform PEM < > /home/certificates/MTA/MTA_DEVICE.cert.pem | sed s/Modulus=/0x/ > 0xC147647