# self-signed Kubernetes certificate for cluster - ignore certificate validation

**URL:** <https://community.dynatrace.com/t/self-signed-kubernetes-certificate-for-cluster-ignore-certificate-validation/21355>\
**Category:** Container platforms\
**Tags:** openshift, oneagent, kubernetes\
**Created:** [February 1, 2021, 12:40pm UTC](https://community.dynatrace.com/t/self-signed-kubernetes-certificate-for-cluster-ignore-certificate-validation/21355 "2021-02-01T12:40:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rswarnka](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rswarnka/32/10979_2.png) [@rswarnka](https://community.dynatrace.com/u/rswarnka)\
**Post date:** [February 1, 2021, 12:40pm UTC](https://community.dynatrace.com/t/self-signed-kubernetes-certificate-for-cluster-ignore-certificate-validation/21355/1 "2021-02-01T12:40:33Z")

</div>

Hi there, To make cluster connect with Kubernetes, I’m trying to [import the public certificate to trust stores in AGs](https://www.dynatrace.com/support/help/shortlink/sgw-proxy-authentication#certificate-management-for-cloud-foundry-kubernetes-and-openshift-communication-). But I keep getting below error:

```auto
PS E:\Program Files\dynatrace\gateway\jre\bin> ./keytool.exe -import -file "E:/cert/aks-prod.pem" -alias aksweuprod -keystore "C:/ProgramData/dynatrace/gateway/ssl/trusted.jks"
Enter keystore password:
keytool error: java.lang.Exception: Input not an X.509 certificate

```

Got to know that kubernete’s certificate is **self-signed** hence the reason.

What is the security impact of disabling the certificate validation (referring to screenshot)?

 ![28070-1612183157872.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/0/b0c2f9b670a4904a3bb30b5eb45107fb49236091.png)

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [February 1, 2021, 3:07pm UTC](https://community.dynatrace.com/t/self-signed-kubernetes-certificate-for-cluster-ignore-certificate-validation/21355/2 "2021-02-01T15:07:14Z")

</div>

FYI this will be a requirement in the near future, Id you can always enable it but then set it to false in the config file as well. But id reach out to support to double check on this and the impacts of it turned on/off
