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

TLS certificate on CI #158

Merged
merged 10 commits into from
Mar 15, 2024
Merged

TLS certificate on CI #158

merged 10 commits into from
Mar 15, 2024

Conversation

oliverbundalo
Copy link

Description

Please provide a detailed description of what was done in this PR

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • Hotfix (change that solves an urgent issue, and requires immediate attention)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have added the relevant labels
  • I have updated the official documentation
  • I have added sufficient documentation in code

Testing

  • I have tested this code with the official test suite
  • I have tested this code manually

Manual tests

Please complete this section if you ran manual tests for this functionality, otherwise delete it

Documentation update

Please link the documentation update PR in this section if it's present, otherwise delete it

Additional comments

Please post additional comments in this section if you have them, otherwise delete it

@oliverbundalo oliverbundalo added the feature New feature label Mar 14, 2024
@oliverbundalo oliverbundalo self-assigned this Mar 14, 2024
@@ -133,8 +133,8 @@ func (j *JSONRPC) setupHTTP() error {
}

if j.config.TLSCertFile != "" && j.config.TLSKeyFile != "" {
j.logger.Info("https cert file", j.config.TLSCertFile)
j.logger.Info("https key file", j.config.TLSKeyFile)
j.logger.Info("TLS", "cert file", j.config.TLSCertFile)
Copy link

Choose a reason for hiding this comment

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

should this log line even exist?

j.logger.Info("https cert file", j.config.TLSCertFile)
j.logger.Info("https key file", j.config.TLSKeyFile)
j.logger.Info("TLS", "cert file", j.config.TLSCertFile)
j.logger.Info("TLS", "key file", j.config.TLSKeyFile)
Copy link

Choose a reason for hiding this comment

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

The same question applies?

Copy link
Author

Choose a reason for hiding this comment

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

Yes, because that way we can see what files are exactly used as certificate files. It is important for troubleshooting, if something is not working we can quickly check what files are given as certificate files.

@oliverbundalo oliverbundalo requested a review from visnja March 15, 2024 07:30
@oliverbundalo oliverbundalo merged commit efdee00 into develop Mar 15, 2024
10 checks passed
@oliverbundalo oliverbundalo deleted the feat/tls branch March 15, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants