Deployment issues with SSL certificates
Some attention needs to be paid to SSL wildcard certificate behaviour and how that might affect subdomain-based deployments. May just be a readme thing, may be more.
I ran into issues initialising a local node served to the public internet via http://localtunnel.me. It ended up manifesting as these errors in initnodes.php
:
Warning: file_get_contents(): Peer certificate CN=`*.loca.lt' did not match expected CN=`ledger.pospi.calm-baboon-12.loca.lt' in /var/www/html/ccclient/requesters/ClientRequesterTrait.php on line 100
Warning: file_get_contents(): Failed to enable crypto in /var/www/html/ccclient/requesters/ClientRequesterTrait.php on line 100
Warning: file_get_contents(https://ledger.pospi.calm-baboon-12.loca.lt/): failed to open stream: operation failed in /var/www/html/ccclient/requesters/ClientRequesterTrait.php on line 100
This could potentially be addressed via #46.