Skip to content

Support ClientCertificateSelectionCallback Issue #81#84

Open
Kevin-Andrew wants to merge 4 commits intoIonxSolutions:masterfrom
Kevin-Andrew:ClientCertificateSelectionCallback2
Open

Support ClientCertificateSelectionCallback Issue #81#84
Kevin-Andrew wants to merge 4 commits intoIonxSolutions:masterfrom
Kevin-Andrew:ClientCertificateSelectionCallback2

Conversation

@Kevin-Andrew
Copy link
Copy Markdown
Contributor

Add support for the TCP mutual authentication to allow the client authentication certificate to be dynamically selected, via a callback method, upon each SSL connection. This allows for the rotation of a certificate without having to recreate and initialize an entire new TcpSyslogConfig.

See #81.

The behavior of the CertificateProvider has essentially been updated to allow for the same thing. That is, if you specify a CertificateProvider, the Syslog Sink will now retrieve the Certificate property each time it establishes a connection. Before, it was only taking a copy of the certificate once, in the constructor, for the lifetime of the configuration.

Add support for the TCP mutual authentication to allow the client authentication certificate to be dynamically selected, via a callback method, upon each SSL connection. This allows for the rotation of a certificate without having to recreate and initialize an entire new TcpSyslogConfig.

See IonxSolutions#81.

The behavior of the CertificateProvider has essentially been updated to allow for the same thing. That is, if you specify a CertificateProvider, the Syslog Sink will now retrieve the Certificate property each time it establishes a connection. Before, it was only taking a copy of the certificate once, in the constructor, for the lifetime of the configuration.
@colin-anderson
Copy link
Copy Markdown
Contributor

Looks great! If you can resolve the conflicts, I'll happily get this merged 👍

@Kevin-Andrew
Copy link
Copy Markdown
Contributor Author

@colin-anderson , I resolved the conflict. That was caused by the other PR just being merged before this, since it happened to add a Unit Test as well.

I then also updated the Readme.md to make a mention of the new property, CertificateSelectionCallback.

Take another look and then please do a "Squash and merge", as there is no point in keeping the extra, in-between commits, polluting the history.

Then we can go ahead and mark Issue #81 as closed as well, I would say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants