Closed puggan closed 6 years ago
Why is verify turned of in the exemple in the readme?
I using your code with verify, like this
// Create BankIDService $bankIDService = new BankIDService( 'https://appapi2.test.bankid.com/rp/v5/', $_SERVER["REMOTE_ADDR"], [ 'verify' => 'PATH_TO_TEST_CERT.ca', 'cert' => 'PATH_TO_TEST_CERT.crt', 'ssl_key' => 'PATH_TO_TEST_CERT.key', ] );
You're right. verify = false is used for testing. I'll update the readme to demonstrate how to work with ssl. Thank you.
Why is verify turned of in the exemple in the readme?
I using your code with verify, like this