For Linux one could just SSH dynamic port forwarding
Localhost ssh -fND 1234 user-name@remote-ip-address-A
Remote host ssh -fNL 12345:remote-ip-address-B:443 remote-ip-address-A
Open Firefox install FoxyProxy and set it up as shown in the screengrab.
FoxyProxy settings
In Firefox click the FoxyProxy icon and select the proxy connection you just made. In the URL bar type https://127.0.0.1.
Additionally you could just bypass this whole thing and just use sshuttle.
Using sshuttle's -H argument causes it to update your local /etc/hosts file as new remote hostnames are found. You will need this so that certificates will work properly.
sshuttle -H -vr user-name@remote-ip-address-A remote-net/ip-address-B