Skip cert verification

Created on 26 January 2018, almost 7 years ago
Updated 10 March 2023, almost 2 years ago

Problem/Motivation

We had a use case where skipping cert verification was needed when using TLS. The client's SMTP server had a certificate which the server could not verify.

The error we were getting was:

stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Proposed resolution

According to https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting#updating-ca-... newer versions of the library can pass
options to the connection method.

Not sure if this is the approach we want, but here is a patch that brings in that part of the library. It's passed in as a Drupal variable and not configurable via Ui (not sure if that would make sense).

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇸🇮Slovenia primsi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024