Resource icon

How to use self signed certs for SSL/TLS IMAP and SMTP

How to use self signed certs for SSL/TLS IMAP and SMTP
We’re Live! New Forum is Now Open! register now for feature goodies and giveways 🔥

📢 Hiring 2 Resource Uploaders – Paid Position ($50/month) read more!

adminGroup
BARMOD Rep
0
0
0
Rep
0
BARMOD Vouches
0
0
0
Vouches
0
Posts
49
Likes
36
Bits
1 YEAR
1 YEAR OF SERVICE
LEVEL 10 125 XP
BARMOD submitted a new resource:

How to use self signed certs for SSL/TLS IMAP and SMTP - How to use self signed certs for SSL/TLS IMAP and SMTP

If you have an SMTP or IMAP server that has a self signed certifcate, you will need to make 2 file edits to prevent a connection failure.

src/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php

paste this after

PHP:
$options = [];

PHP:
$options['ssl']['verify_peer'] = FALSE;
$options['ssl']['verify_peer_name'] = FALSE;

src/vendor/laminas/laminas-mail/src/Protocol/Imap.php

PHP:
$this->socket = fsockopen($host, $port, $errno...

Read more about this resource...
 

7

46

53

39

Top