-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-30131 Cloud: Support HPCC Remote Trust via shared cert authority #17796
HPCC-30131 Cloud: Support HPCC Remote Trust via shared cert authority #17796
Conversation
f92c15e
to
b4a78b4
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.
@afishbeck a couple of minor comments/questions. Please feel free to squash any changes into this PR to ease merging (but don't rebase).
roxie/ccd/ccdprotocol.cpp
Outdated
@@ -228,10 +228,11 @@ class ProtocolSocketListener : public ProtocolListener | |||
StringAttr keyFile; | |||
StringAttr passPhrase; | |||
Owned<ISecureSocketContext> secureContext; | |||
Owned<IPropertyTree> tlsConfig; |
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 doesn't appear to be used.
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.
Removed.
@@ -1974,6 +1974,7 @@ SECURESOCKET_API ISecureSocketContext* createSecureSocketContextEx2(const IPrope | |||
if (config == NULL) | |||
return createSecureSocketContext(sockettype); | |||
|
|||
dbglogXML(config); |
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.
Tracing left in?
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.
Yes, I'll remove it.
roxie/ccd/ccdprotocol.cpp
Outdated
@@ -242,9 +243,16 @@ class ProtocolSocketListener : public ProtocolListener | |||
keyFile.set(_keyFile); | |||
passPhrase.set(_passPhrase); | |||
isSSL = streq(protocol.str(), "ssl"); | |||
DBGLOG("ProtocolSocketListener port=%d, certFile=%s, keyFile=%s", port, _certFile, _keyFile); |
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.
Double checking that this is only logged once for the process.
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.
Yes, these should be instantiated (and log) at roxie startup time.
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.
That being said, I don't think I meant to add this line, it doesn't even cover my change, I'll remove it.
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.
Removed.
Signed-off-by: Anthony Fishbeck <[email protected]>
b4a78b4
to
a5ba772
Compare
@ghalliday updated and squashed at the same time. |
625e53d
into
hpcc-systems:candidate-9.4.x
Type of change:
Checklist:
Smoketest:
Testing: