core icon indicating copy to clipboard operation
core copied to clipboard

config.yml verify_peer parameter ignored

Open Puddingboy opened this issue 2 years ago • 1 comments

The verify_peer parameter in config.yml seems to be ignored while the same variable in the .env file seems to work:

###> symfony/mailer ###
MAILER_DSN=smtp:[address]?verify_peer=false
###< symfony/mailer ###

Details

Question Answer
Relevant Bolt Version 5.0
Install type Composer install
BC Break no
PHP version 7.3
Web server Apache / Nginx / Built-in, version [ version ]
For UX/UI issues Brave

Reproduction

Bug summary

Specifics

Steps to reproduce

Expected result

config.yml verify_peer should make symfony add the verify_peer flag to the mailer SDN

Actual result

config.yml verify_peer ignored

Puddingboy avatar Jul 20 '21 09:07 Puddingboy

Hi @Puddingboy , as far as I know the verify_peer is only intended for curl operations that Bolt performs and for now it is only used here: https://github.com/bolt/core/blob/0916ee977a04f1147f987304421081a8957f5285/src/DataFixtures/ImageFetchFixtures.php

I-Valchev avatar Jul 26 '21 08:07 I-Valchev