# Troubleshooting Note: `cluster$` indicates that the commands should be run on your OAS cluster. ## HTTPS Certificates OAS uses [cert-manager](http://docs.cert-manager.io/en/latest/) to automatically fetch [Let's Encrypt](https://letsencrypt.org/) certificates for all deployed services. If you experience invalid SSL certificates (i.e. your browser warns you when visiting Nextcloud (`https://files.YOUR.CLUSTER.DOMAIN`) here's how to debug this: Are all pods in the `cert-manager` namespace in the `READY` state ? cluster$ kubectl -n cert-manager get pods Show the logs of the main `cert-manager` pod: cluster$ kubectl -n cert-manager logs -l "app.kubernetes.io/name=cert-manager" You can `grep` for your cluster domain or for any specific subdomain to narrow down results. ## Purge OAS and install from scratch If ever things fail beyond possible recovery, here's how to completely purge an OAS installation in order to start from scratch: cluster$ apt purge docker-ce-cli containerd.io cluster$ mount | egrep '^(tmpfs.*kubelet|nsfs.*docker)' | cut -d' ' -f 3 | xargs umount cluster$ rm -rf /var/lib/docker /var/lib/OpenAppStack /etc/kubernetes /var/lib/etcd /var/lib/rancher /var/lib/kubelet /var/log/OpenAppStack /var/log/containers /var/log/pods