core
core copied to clipboard
config.yml verify_peer parameter ignored
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
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