Unable to use HTTPS in tunnel (solved)

I have a domain pointing to website.tld (hosting), and a subdomain pointing to whatever.website.tld (local, tunnel). So far HTTPS works well in the hosted one but I’m unable to make it work at home.
The DNS records are (all proxied)

A             website.tld          987.654.321.987
CNAME         whatever             abunchofnumbers-otherbunch-lastbunch

I have a configuration rule
Expression (http.host eq "whatever.website.tld")
Automatic HTTPS Rewrites yes
My httpd conf is

<VirtualHost whatever.website.tld:443>
	DocumentRoot "/usr/local/var/www"
	ServerName whatever.website.tld
	ServerAdmin [email protected]
	ErrorLog "/usr/local/var/log/httpd/error_log"
	TransferLog "/usr/local/var/log/httpd/access_log"
	SSLEngine on
	SSLCertificateFile "/usr/local/etc/httpd/whatever.website.tld-crt.pem"
	SSLCertificateKeyFile "/usr/local/etc/httpd/whatever.website.tld-key.pem"
	SSLCACertificateFile "/usr/local/etc/httpd/origin_ca_rsa_root.pem"
</VirtualHost>

The error is
Error code: SEC_ERROR_UNKNOWN_ISSUER

What am I missing? Thanks in advance!

What certificate are you using for the tunnel? Is it an origin certificate or one that you created yourself?

Sorry, but I AFK. It’s working now as expected. Thanks for your reply!