Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Do not generate self-signed TLS certificates by default. #4509

Merged
merged 4 commits into from
Jan 29, 2019

Conversation

hawkowl
Copy link
Contributor

@hawkowl hawkowl commented Jan 29, 2019

Fixes #4490

@codecov-io
Copy link

codecov-io commented Jan 29, 2019

Codecov Report

Merging #4509 into develop will decrease coverage by <.01%.
The diff coverage is 80%.

@@             Coverage Diff             @@
##           develop    #4509      +/-   ##
===========================================
- Coverage    74.76%   74.75%   -0.01%     
===========================================
  Files          336      336              
  Lines        34180    34158      -22     
  Branches      5559     5558       -1     
===========================================
- Hits         25553    25536      -17     
+ Misses        7051     7046       -5     
  Partials      1576     1576

@hawkowl
Copy link
Contributor Author

hawkowl commented Jan 29, 2019

SyTest PR: matrix-org/sytest#551

@hawkowl hawkowl requested a review from a team January 29, 2019 12:07
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -40,7 +41,9 @@ def read_config(self, config):
self.acme_reprovision_threshold = acme_config.get("reprovision_threshold", 30)

self.tls_certificate_file = os.path.abspath(config.get("tls_certificate_path"))
self.tls_private_key_file = os.path.abspath(config.get("tls_private_key_path"))
self.tls_private_key_file = config.get("tls_private_key_path")
if self.tls_private_key_file:
Copy link
Member

Choose a reason for hiding this comment

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

there's a self.abspath to do this boilerplate for you

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants