# Windows nitropy write-certificate: unsupported key length

**URL:** <https://support.nitrokey.com/t/windows-nitropy-write-certificate-unsupported-key-length/7170>\
**Category:** Nitrokeys\
**Created:** [September 1, 2025, 9:06pm UTC](https://support.nitrokey.com/t/windows-nitropy-write-certificate-unsupported-key-length/7170 "2025-09-01T21:06:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolsos](https://support.nitrokey.com/user_avatar/support.nitrokey.com/wolsos/32/2050_2.png) [@wolsos](https://support.nitrokey.com/u/wolsos)\
**Post date:** [September 1, 2025, 9:06pm UTC](https://support.nitrokey.com/t/windows-nitropy-write-certificate-unsupported-key-length/7170/1 "2025-09-01T21:06:55Z")

</div>

Dear all, my first request for support. Hopefully the correct topic.

I have a certificate in the format .crt and .p12 made by OpenSSL en Self-signed CA.

I first tried with rsa:4096 and used the command:  
nitropy nk3 piv  
–experimental write-certificate  
–key 9a  
–path oskar.wols.crt  
  
got the result “unsupported key length”

with rsa:2048 same result.

version of Nitropy: 0.10.0

Please your advice or link to latest version.

Many thanks in advance, regards, Oskar

---

<div class="post-metadata">

**Author:** ![wolsos](https://support.nitrokey.com/user_avatar/support.nitrokey.com/wolsos/32/2050_2.png) [@wolsos](https://support.nitrokey.com/u/wolsos)\
**Post date:** [September 1, 2025, 9:19pm UTC](https://support.nitrokey.com/t/windows-nitropy-write-certificate-unsupported-key-length/7170/2 "2025-09-01T21:19:35Z")

</div>

Just finished the message and I found version 0.10.0 of Nitropy.

**Same result, except the version number**  
_Command line tool to interact with Nitrokey devices 0.10.0_  
_Nitrokey CCID/ICCD Interface 0_  
_Critical error:_  
_Unsupported key length_

I did some more, but what I do in this context, I get always the “Unsupported key length”.  
Not sure if the message has any value for solving the issue.
