-
Notifications
You must be signed in to change notification settings - Fork 37
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
Make TLS version configurable #540
Comments
thanks for the bug @chrishenzie you linked to the |
Yes I think fixing both paths is preferable |
Thanks! As suspected, using
fails when connecting to 7-mode systems.
|
@cgrinds Thanks for the investigation! More interesting behavior... when we updated our cluster from 9.8 to 9.9.1 this issue went away (e.g. API calls succeeded without setting a min or max TLS version). I'm not familiar with this area, but maybe there was some TLS version negotiation that was fixed with the more recent version? |
that is interesting - what Harvest is doing now looks correct. When negotiating with a FIPs enabled server, Harvest and the server should settle on a version that both support. I tried this on a cluster with Do you know the exact version of 9.8 you were using? |
We are using NetApp Release 9.8P1. Maybe that's related? Basically we use ansible module to turn on FIPs mode:
it should be equivalent to run We switched to 9.9.1 release and the issue went away. |
Thanks for the details @Jiawei0227 Yes, the Ansible block you pasted is equivalent to the shell commands. Digging through ONTAP changelogs, the closest FIPs related TLS issue I've found so far is
This issue was fixed in 9.8P3 and 9.9.1 (and eariler releases). In summary, it sounds like you're unblocked and Harvest is fine from a TLS FIPs perspective. |
@chrishenzie and @Jiawei0227 I found a 9.8 system
That adds support to the hypothesis that your system had a corrupted sshd_config. Do you have another system that hasn't been upgraded yet and exhibits the problem? If so, we can try to get more information there, otherwise I'm inclined to close this. Thoughts? |
@cgrinds I think both systems we are working on have since been upgraded. You can close and we can revisit this in the future should it happen again. Thank you for looking into this! |
sounds good. feel free to reopen if you see it again |
The ZAPI client for Harvest appears to use TLS 1.0 for its requests.
From the TLS config documentation:
In NetApp ONTAP clusters with FIPs mode enabled, a minimum TLS version of v1.2 is required, which causes Harvest to break with the following error:
It would be nice to make the minimum TLS version configurable or maybe bump the default to support FIPs mode.
CC @Jiawei0227
The text was updated successfully, but these errors were encountered: