I generated a certificate with RSA public and private key. The certificate has Private key and PUblic key as RSA and SIgnature algorithm is SHA256withRSA.
Now i tried to change the certificate to SHA256withECDSA. So i have passed ECDSA private and public key to CSR. But the generated certificate still has Signature and Signature Algorithm as SHA256withRSA. But i need that to be signed with SHA256withECDSA. I have used Java client.
Here is my certificate generated with EC keys.
Certificate Version : 3
Serial Number : 21781255164169531867208678306871906768202318
Signature : SHA256withRSA
Issuer : CN=Fake LE Intermediate X1
Subject : CN=www.provteam.in
Certificate Validity :valid
Signature Algorithm: SHA256withRSA, OID = 1.2.840.1135126.96.36.199
Key: Sun EC public key, 256 bits
public x coord: 15546637836353288101170932950429072647644820192651766716428014795363973491131
public y coord: 6146382100650817695530112138903471819592851370572017012053233788799056492102
Validity: [From: Wed Feb 15 20:18:00 IST 2017,
To: Tue May 16 20:18:00 IST 2017]
Issuer: CN=Fake LE Intermediate X1
SerialNumber: [ fa095b22 b389d714 e4891488 bd8b824f 2a4e]
I can find why my certificate is doesnot have SHA256withECDSA signature.
Thanks in advance !!