2
regarding this question there is the following network setup. At home there is a cubieboard running an Apache server behind me router. Problem is that my ISP only gives me a IPv6 address and uses DS-Lite for outgoing IPv4 connections.
So when trying to connect from IPv4 (because IPv6 is still not common) I made use of my root server which has a static IP address to forward the request to my cubieboard over IPv6.
I registered my own domain and on the cubieboard there is a script to sync the domain with the daily changing IPv6 address from my ISP.
On my root server there is a socat process running to listen on port X[IPv4] and forward it to my domain on port Y[IPv6].
While this works perfect and I can access my cubieboard from IPv4 I don't know how to setup SSL with my apache server on the cubieboard so I can access it with SSL over this IPv4 to IPv6 connection.
I already own a SSL certificate from Let's Encrypt which can be created on the cubieboard since Let's Encrypt supports IPv6 only domains. But since this domain is only connected to the IPv6 address I cannot simply use this in the browser where I only have IPv4 available.
socat
localhost:1234[v4] to
------------------- mydomain.com:80[IPv6] -------------------------
| cubieboard IPv6 | <-----------------------> | root server IPv4/6 |
| apache port 80 | | socat Port 1234[Ipv4] |
------------------- -------------------------
^
|
---------------------
| SSL certificate |
| mydomain.com IPv6 |
---------------------