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
feat: support splitting certs and private key #1006
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1006 +/- ##
==========================================
+ Coverage 58.91% 59.08% +0.17%
==========================================
Files 10 10
Lines 1066 1095 +29
==========================================
+ Hits 628 647 +19
- Misses 403 413 +10
Partials 35 35 |
8adeaac
to
9a846a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready for initial review, i'll add docs in a separate commit!
@@ -46,6 +45,10 @@ var ( | |||
|
|||
metricsBackend = flag.String("metrics-backend", "Prometheus", "Backend used for metrics") | |||
prometheusPort = flag.Int("prometheus-port", 8898, "Prometheus port for metrics backend") | |||
|
|||
constructPEMChain = flag.Bool("construct-pem-chain", true, "explicitly reconstruct the pem chain in the order: SERVER, INTERMEDIATE, ROOT") | |||
writeCertAndKeyInSeparateFiles = flag.Bool("write-cert-and-key-in-separate-files", false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a big fan of the long flag name but it's descriptive. I'm open to suggestions on this one.
9a846a9
to
9079925
Compare
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
9079925
to
639014f
Compare
Signed-off-by: Anish Ramasekar anish.ramasekar@gmail.com
Reason for Change:
Requirements
Issue Fixed:
fixes #933
Does this change contain code from or inspired by another project?
If "Yes," did you notify that project's maintainers and provide attribution?
Special Notes for Reviewers: