# CSR is missing certificate

**URL:** <https://forums.suse.com/t/csr-is-missing-certificate/19681>\
**Category:** General\
**Created:** [March 4, 2021, 7:06am UTC](https://forums.suse.com/t/csr-is-missing-certificate/19681 "2021-03-04T07:06:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![silverfractal852](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/silverfractal852/32/6973_2.png) [@silverfractal852](https://forums.suse.com/u/silverfractal852)\
**Post date:** [March 4, 2021, 7:06am UTC](https://forums.suse.com/t/csr-is-missing-certificate/19681/1 "2021-03-04T07:06:11Z")

</div>

I’m trying to follow the instructions at [Certificate Signing Requests | Kubernetes](https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/#create-role-and-rolebinding) to create a CSR for a user who only has access to pods. However when I try to connect to the cluster using my private key I get the following error:

$ kubectl get pod  
error: tls: failed to find any PEM data in certificate input

There’s also a part in the instructions that I’m not able to follow. It says:

Retrieve the certificate from the CSR:

```auto
kubectl get csr/john -o yaml

```

The certificate value is in Base64-encoded format under `status.certificate` .

I don’t see any field like this.

I am using rke version 1.2.6 kubernetes 1.19.8.
