# Cannot import wildcard certificates

**URL:** https://forums.suse.com/t/cannot-import-wildcard-certificates/10344
**Category:** Rancher 2.0 Tech Preview
**Created:** [May 8, 2018, 9:18pm UTC](https://forums.suse.com/t/cannot-import-wildcard-certificates/10344 "2018-05-08T21:18:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![amioranza](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/amioranza/32/3053_2.png) [@amioranza](https://forums.suse.com/u/amioranza)
#### Post date: [May 8, 2018, 9:18pm UTC](https://forums.suse.com/t/cannot-import-wildcard-certificates/10344/1 "2018-05-08T21:18:20Z")

</div>

There are anyone else having problem to import certificates on Rancher 2.0?

It stucks saying “Private Key is invalid. Please make sure it is a RSA key.”, but the key and the certificate are valid.

Thanks

---

<div class="post-metadata">

### Author: ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)
#### Post date: [May 8, 2018, 10:27pm UTC](https://forums.suse.com/t/cannot-import-wildcard-certificates/10344/2 "2018-05-08T22:27:47Z")

</div>

> <https://github.com/rancher/rancher/issues/13156>
>
> Tried to add a certificate
> Got an error: 
> Private Key is invalid. Please make …sure it is a RSA key.
> Certificate is invalid.
> 
> The same key and the certificate added successfully in Rancher 1.6 
> \---
> | Useful | Info |
> | :-- | :-- |
> |Versions|Rancher \`v2.0.0-beta4\` UI: \`v2.0.38\` |
> |Access|\`local\` \`admin\`|
> |Route|\`authenticated.cluster.index\`|

---

<div class="post-metadata">

### Author: ![amioranza](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/amioranza/32/3053_2.png) [@amioranza](https://forums.suse.com/u/amioranza)
#### Post date: [May 9, 2018, 1:24am UTC](https://forums.suse.com/t/cannot-import-wildcard-certificates/10344/3 "2018-05-09T01:24:39Z")

</div>

Good, I’'l try direct form API tomorrow.

Thanks.
