I went into System > TLS (SSL) Certificates and copied the CSR to generate a signed certificate for my domain which uses cloudfare dns. After pasting the csr and specifying my domain name it gave me back an Origin Certificate in PEM format so I copied it on MiaB panel and hit install which returned the following error:
The certificate is missing an intermediate chain or the intermediate chain is incorrect or incomplete. (/tmp/tmpkk1630nt.pem: O = "CloudFlare, Inc.", OU = CloudFlare Origin CA, CN = CloudFlare Origin Certificate error 20 at 0 depth lookup:unable to get local issuer certificate )
After a bit of googling I found this link https://support.cloudflare.com/hc/en-us/articles/218689638-What-are-the-root-certificate-authorities-CAs-used-with-Cloudflare-Origin-CA- which provides the correct Cloudflare Origin CA — RSA Root, so after pasting that into the intermediate chain box all I get back is This is a self-signed certificate. I can’t install that..
If Cloudflare is the one providing me with the SSL/TLS certificates, how am I supposed to add them to not use letsencrypt?