google / certificate-transparency-go

Auditing for TLS certificates (Go code)
https://certificate.transparency.dev
Apache License 2.0
897 stars 233 forks source link

Add TLS support for CTLog server #1523

Closed fghanmi closed 3 months ago

fghanmi commented 3 months ago

Summary

This pull request introduces support for enabling TLS security for CTLog. By adding two new command-line flags--tls_certificate and --tls_key which represents the path to server TLS certificate and private key respectively. And also implementing the necessary logic to handle TLS, this update enhances the security of CTLog.

Release Note

Resolves Issue: https://github.com/google/certificate-transparency-go/issues/1522

Checklist

google-cla[bot] commented 3 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

fghanmi commented 3 months ago

Hello, It seems that "Missing permissions: cloudbuild.builds.get" prevents the build from starting/succeeding. Could you please help ? Thanks!

mhutchinson commented 3 months ago

/gcbrun

mhutchinson commented 3 months ago

/gcbrun

mhutchinson commented 3 months ago

Hey @fghanmi one tip to make incremental github reviews easier for the reviewer: once a commit has been proposed, make any further changes as commits on top of that instead of squashing the commits together and force pushing. This makes it easier to see that recent changes have not affected code that a reviewer may already have looked at. The commits can all be squashed together at the point where the PR is merged into the main branch.