I am not using any SSL certificate on my origin server. I am only using Cloudflare proxy here. I added the A record on DNS settings and enabled proxy there.
“Full (strict)” requires an SSL certificate on your origin which is why you are getting error 526. You will need to install one on your origin to make this work. Not using a valid SSL certificate on your origin is insecure even behind Cloudflare SSL.