# Signature Algorithm with SHA256ECDSA

**URL:** https://community.letsencrypt.org/t/signature-algorithm-with-sha256ecdsa/27940
**Category:** Feature Requests
**Created:** [February 15, 2017, 5:59pm UTC](https://community.letsencrypt.org/t/signature-algorithm-with-sha256ecdsa/27940 "2017-02-15T17:59:23Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![preetham](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@preetham](https://community.letsencrypt.org/u/preetham)
#### Post date: [February 15, 2017, 5:59pm UTC](https://community.letsencrypt.org/t/signature-algorithm-with-sha256ecdsa/27940/1 "2017-02-15T17:59:23Z")

</div>

Hi,

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](http://CN=www.provteam.in)  
Certificate Validity :valid  
Certificate [  
[  
Version: V3  
Subject: [CN=www.provteam.in](http://CN=www.provteam.in)  
Signature Algorithm: SHA256withRSA, OID = 1.2.840.113549.1.1.11

Key: Sun EC public key, 256 bits  
public x coord: 15546637836353288101170932950429072647644820192651766716428014795363973491131  
public y coord: 6146382100650817695530112138903471819592851370572017012053233788799056492102  
parameters: org.bouncycastle.jce.spec.ECNamedCurveSpec@3bc81588  
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 !!

---

_[View the full topic](https://community.letsencrypt.org/t/signature-algorithm-with-sha256ecdsa/27940)._
