Option to accept self signed certificate
-
Hi,
I’ve modified your fantastic(s) plugin(s) to accept smtp server with self-signed certificate. I would like that you integrate my updates in you plugin.
You can download archive here :https://drive.google.com/open?id=0B-ls-4hhedDGeTBPSWxaeXNaTms
I’ve replace Swift library with the latest version.
- And i’ve added an option in plugin configuration panel “Allow self signed certificate”
- I’ve modified swift_engine.php like below:
if (!empty($st_smtp_config['password'])) $transport->setPassword($st_smtp_config['password']); if ( (!empty($st_smtp_config['allow_self_signed'])) && ($st_smtp_config['allow_self_signed']=='yes') ) { $transport->setStreamOptions(array('ssl' => array('allow_self_signed' => true, 'verify_peer' => false))); }
Best regards.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Option to accept self signed certificate’ is closed to new replies.