addon-bookstack icon indicating copy to clipboard operation
addon-bookstack copied to clipboard

Failed to save add-on configuration, not a valid value > MAIL_VERIFY_SSL

Open Ulrich72 opened this issue 1 year ago • 1 comments

Problem/Motivation

I need to add the MAIL_VERIFY_SLL option:

Source: https://www.bookstackapp.com/docs/admin/email-webhooks/

# Verify SSL/TLS certificates during SMTP sending
# WARNING: Disabling verification using a 'false' value 
# can make you vulnerable to MITM attacks
MAIL_VERIFY_SSL=false

So I added this to the env section within the configuration:

- name: MAIL_VERIFY_SSL
  value: false

Result is: “Failed to save add-on configuration, not a valid value.”

Expected behavior

Add-on should accept this env setting.

Actual behavior

Can't save and can't use this option.

Steps to reproduce

See above.

Proposed changes

Add the MAIL_VERIFY_SSL as a valid value.

Ulrich72 avatar Jul 03 '24 06:07 Ulrich72

Never mind ... the false needed a "" too ... so this is working:

- name: MAIL_VERIFY_SSL
  value: "false"

Ulrich72 avatar Jul 03 '24 06:07 Ulrich72