# Openshift monitoring service-ca.crt: no such file or directory

**URL:** <https://discuss.elastic.co/t/openshift-monitoring-service-ca-crt-no-such-file-or-directory/265562>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [February 26, 2021, 3:38am UTC](https://discuss.elastic.co/t/openshift-monitoring-service-ca-crt-no-such-file-or-directory/265562 "2021-02-26T03:38:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![haipeng.zhao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/haipeng.zhao/32/84582_2.png) [@haipeng.zhao](https://discuss.elastic.co/u/haipeng.zhao)\
**Post date:** [February 26, 2021, 3:38am UTC](https://discuss.elastic.co/t/openshift-monitoring-service-ca-crt-no-such-file-or-directory/265562/1 "2021-02-26T03:38:47Z")

</div>

hi all

When I modified some namespaces, it happened after deploying the yaml file according to [https://raw.githubusercontent.com/elastic/cloud-on-k8s/1.3/config/recipes/beats/openshift\_monitoring.yaml](https://raw.githubusercontent.com/elastic/cloud-on-k8s/1.3/config/recipes/beats/openshift_monitoring.yaml)

```auto
2021-02-26T03:21:30.651Z ERROR [tls] tlscommon/tls.go:154 Failed reading CA certificate: open /run/secrets/kubernetes.io/serviceaccount/service-ca.crt: no such file or directory

```

Where does this ca file come from? I didn't see the mount coming in

---

<div class="post-metadata">

**Author:** ![pebrc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pebrc/32/101790_2.png) [@pebrc](https://discuss.elastic.co/u/pebrc)\
**Post date:** [March 1, 2021, 2:25pm UTC](https://discuss.elastic.co/t/openshift-monitoring-service-ca-crt-no-such-file-or-directory/265562/2 "2021-03-01T14:25:41Z")

</div>

This file is created by the service-ca operator in OpenShift for the [service serving certificates feature](https://docs.openshift.com/container-platform/4.7/security/certificates/service-serving-certificate.html)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 29, 2021, 2:25pm UTC](https://discuss.elastic.co/t/openshift-monitoring-service-ca-crt-no-such-file-or-directory/265562/3 "2021-03-29T14:25:45Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
