# AWS IoT Core Integration- Private Key issues?

**URL:** https://hub.mender.io/t/aws-iot-core-integration-private-key-issues/5395
**Category:** General Discussions
**Created:** [November 13, 2022, 6:02pm UTC](https://hub.mender.io/t/aws-iot-core-integration-private-key-issues/5395 "2022-11-13T18:02:25Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Bjurr](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/bjurr/32/1803_2.png) [@Bjurr](https://hub.mender.io/u/Bjurr)
#### Post date: [December 8, 2022, 9:43pm UTC](https://hub.mender.io/t/aws-iot-core-integration-private-key-issues/5395/3 "2022-12-08T21:43:41Z")

</div>

So apparently, fiddling around I figured out that the keys provided through mender-configure are ECC 256 bits keys. For some unknown reason, openssl doesn’t like that the header is `-----BEGIN PRIVATE KEY-----` (I suppose it thinks it should be a PKCS#8 key). Instead, simply modifying the header to `-----BEGIN EC PRIVATE KEY-----` fixed the issues for me.

---

_[View the full topic](https://hub.mender.io/t/aws-iot-core-integration-private-key-issues/5395)._
