-
Notifications
You must be signed in to change notification settings - Fork 2
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
Improve error message when using self-signed certificate #119
Conversation
38458ed
to
925bb0a
Compare
Code Climate has analyzed commit 2c6bf5b and detected 1 issue on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 81.0% (0.0% change). View more on Code Climate. |
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 thought I had other comments. LGTM just a clarification comment
- ../conf/:/etc/nginx/conf.d/:ro | ||
- ../conf/tls/:/etc/nginx/tls/:ro | ||
- ./conf/:/etc/nginx/conf.d/:ro | ||
- ./conf/tls/:/etc/nginx/tls/:ro |
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.
Just to confirm this is to capture the idea that this docker-compose environment is only ever run with the working directory set to where the docker-compose.yml file is ?
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.
Yeah. This is used in the CI script and this path was incorrect to begin with from what I can tell. I only realized it when I tried to use the proxy
service in the course of testing.
Desired Outcome
Conjur CLI message when not using --self-signed with self signed cert should be improved
Implemented Changes
init
command, if there's an error retrieving or validating the server certificate, and the --self-signed flag is not provided, print "If you're attempting to use a self-signed certificate, re-run the init command with the--self-signed
flag"Connected Issue/Story
CyberArk internal issue ID: CNJR-506
Definition of Done
At least 1 todo must be completed in the sections below for the PR to be
merged.
Changelog
CHANGELOG update
Test coverage
changes, or
Documentation
README
s) were updated in this PRBehavior
Security