Hi all,
I tried to generate certificate with ecdsa algorithm . but whenever i
displayed the certificate, i can see the
following signtaure algorithm
X509v3 extensions:
X509v3 Subject Key Identifier:
58:7C:AD:AF:E4:4D:AF:E8:37:E8:81:DC:49:C8:B0:6F:2D:CD:A4:18
X509v3 Authority Key Identifier:
keyid:58:7C:AD:AF:E4:4D:AF:E8:37:E8:81:DC:49:C8:B0:6F:2D:CD:A4:18
DirName:/C=US/ST=CA/L=Mountain View/O=Sun Microsystems,
Inc./OU=Sun Microsystems Laboratories/CN=Test CA (Elliptic curve secp160r1)
serial:E3:87:8E:A5:E8:D7:9C:23
X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: ecdsa-with-SHA1
I want to use ecdsa-with-SHA2 algorithm .
This is the step i followed to generate the certificate
1. Generating curve parameters
openssl ecparam -name prime192v2 -out server.pem
2. Generate a new certificate request
openssl req -nodes -keyout server.key.pem -newkey ec:server.pem -new -out
server.req.pem
3. Sign the certificate request using the CA certificate
openssl x509 -req -in server.req.pem -CA CA_File.cert.pem -CAkey
CAFile.key.pem -out server.cert.pem -CAcreateserial
4. Display the certificate
openssl x509 -in server.cert.pem -text
Can you guide me how to use to ecdsa-with-SHA2 algorithm . Please help
Thanks
Rajan
--
View this message in context:
http://www.nabble.com/how-to-use-ecdsa-with-sha2-algorithm-with-ecdsa-signature-algorithm-tp23254140p23254140.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]