Skip to content

Commit

Permalink
fix: key/cert switchup for rtr-tls target (#133)
Browse files Browse the repository at this point in the history
This PR fixes the rtr-tls target having certificate and key options reversed.
  • Loading branch information
ember-ana authored Feb 4, 2025
1 parent ba1e326 commit 1c557e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ New

Bug fixes

* Fix rtr-tls target having certificate and key options reversed. ([#133] by [@ember-ana])

Other changes

[#132]: https://github.com/NLnetLabs/rtrtr/pull/132
[#133]: https://github.com/NLnetLabs/rtrtr/pull/133
[@devsnek]: https://github.com/devsnek
[@ember-ana]: https://github.com/ember-ana


## 0.3.1 ‘Some Checks Haven’t Completed Yet’
Expand Down
2 changes: 1 addition & 1 deletion src/targets/rtr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl Tls {
) -> Result<(), ExitError> {
let acceptor = TlsAcceptor::from(Arc::new(
tls::create_server_config(
component.name(), &self.certificate, &self.key
component.name(), &self.key, &self.certificate
)?
));
let notify = NotifySender::new();
Expand Down

0 comments on commit 1c557e0

Please sign in to comment.