Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config.js: tls.rejectUnauthorized false by default (for selfsigned certificates) #275

Merged
merged 5 commits into from
Jun 28, 2018

Conversation

AlvaroVega
Copy link
Member

No description provided.

@AlvaroVega AlvaroVega changed the title Update config.js Update config.js: tls.rejectUnauthorized false by default Jun 27, 2018
@@ -119,6 +119,12 @@ config.smtp = {
pass: 'xyz'
}
*/
,
tls: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the new option be document in some .md? (not sure to which level of deatil we are describing configuration in .mds... to be checked)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doc was updated.

@AlvaroVega AlvaroVega changed the title Update config.js: tls.rejectUnauthorized false by default Update config.js: tls.rejectUnauthorized false by default (for selfsigned certificates) Jun 27, 2018
@@ -24,6 +24,7 @@ The following table shows the environment variables available for Perseo configu
| PERSEO_SMTP_SECURE | `true` if SSL should be used with the SMTP server |
| PERSEO_SMTP_AUTH_USER | Authentication data, the username |
| PERSEO_SMTP_AUTH_PASS | Authentication data, the password for the user |
| PERSEO_SMTP_TLS_REJECTUNAUTHORIZED | Reject if unauthorized security is found (i.e. selfsigned certificates). Default is false. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @cesarjorgemartinez a new env var is being created by this PR. Take it into account in ansible, etc.

NTC (informative)

@@ -1 +1,2 @@
- Using precise dependencies (~=) in packages.json
- Provide default value (false) for tls.rejectUnauthorized config option
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this PR related with #272? To mention the issue number in that case in the CNR line...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a part for this issue, pending ignoreTLS/requireTLS

Copy link
Member

@fgalan fgalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fgalan fgalan merged commit 6a3a852 into master Jun 28, 2018
@fgalan fgalan deleted the AlvaroVega-patch-1 branch June 28, 2018 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants