I have used another CF Certificate, for the origin_CA_RSA_root.pem available [here](https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/#4-required-for-some-add-cloudflare-origin-ca-root-certificates). Since I am using an origin server certificate. I have not proxied my server because this is for a SMTP server that I am hosting, and I am told that SMTP servers should never be proxied.
Also after running the curl curl -v --resolve joelteixeira.com command, the result is as follows:
[email protected]:/etc/ssl/certs# curl -v --resolve joelteixeira.com:443:[IP] https://joelteixeira.com
* Added joelteixeira.com:443:[IP] to DNS cache
* Hostname joelteixeira.com was found in DNS cache
* Trying [IP]:443...
* TCP_NODELAY set
* Connected to joelteixeira.com ([IP]) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Request CERT (13):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (OUT), TLS alert, unknown CA (560):
* SSL certificate problem: unable to get local issuer certificate
* Closing connection 0
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
I have also replaced the CA Origin RSA Root Certificate with the origin pull certificate, and temporarily turned on proxy, but still got the same issue
Just wanted to post one more thing… My ssl certs are not expired, I have openssl v1.1.1f
I have: updated my conf to the ones above, enabled proxying and origin pulls, enabled ssl strict, opened inbound and outbound port 443, and replaced my origin_CA_RSA_root.pem with the Origin pull certificiate. However, it seems like the issue persists…