Hello.
I found the error, in the cloudflare webpage in the SSL page "Your SSL/TLS encryption mode" the default configuration is the option "flexible", with this option when i try create SSL certification i obtained the error "Please make sure your properly set your DNS API credentials for acme.sh If you are using sudo, use "sudo -E wo",
i put the opcion in "Complete" Encrypts end-to-end, using a self signed certificate on the server, with that option WO create the SSL without problem.
I hope this solution can help any one with this same problem.