-
Notifications
You must be signed in to change notification settings - Fork 4
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
[tools/shoestring]: allow collect of multiple certificates date #527
[tools/shoestring]: allow collect of multiple certificates date #527
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## shoestring/dev #527 +/- ##
===============================================
Coverage 98.18% 98.19%
===============================================
Files 155 155
Lines 6297 6307 +10
Branches 143 143
===============================================
+ Hits 6183 6193 +10
Misses 114 114
Flags with carried forward coverage won't be shown. Click here to find out more.
|
tools/shoestring/shoestring/healthagents/rest_https_certificate.py
Outdated
Show resolved
Hide resolved
tools/shoestring/shoestring/healthagents/rest_https_certificate.py
Outdated
Show resolved
Hide resolved
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.
looks good to me but wait for @gimre-xymcity review before merging
'-in', temp_file | ||
'-noout', | ||
'-certs', | ||
temp_file | ||
], command_input='Q', show_output=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.
this probably should not require command input
?
78f2270
to
8ef352e
Compare
ad3fa17
to
5ddc55b
Compare
9e2da98
to
8a114c8
Compare
Update to use
openssl storeutl
to parse all certificates instead ofopenssl x509
which only returns information for the first.openssl storeutl
will fail if the input is not a valid pem, extract the certificate information from the output ofopenssl s_client
.