Closed rubenskuhl closed 1 year ago
When issue is solved, .br root.pem will need to be bundled.
This issue is likely part of the problem with PHP version 5.6 mentioned at issues #68 and #70, so what was once and enhancement is likely to be a requirement.
Confirmed that PHP 5.6 issues can be solved by deactivating peer checking, but this needs to be brought back so the connection can be verified using the root CA.
Commit f798b843ffae738c95074d03fbe9d9dab3c713e2 fixed this issue partially, by enabling verification of certificate common-name against DNS hostname. But to verify the CA this requires adding NIC.br EPP root to the local truststore and change verify-peer to true in RegistroEPP/RegistroEPP.class.php. This will be left as comment in the code .
Ditto