If we try and set a min and max SSL version in the server, it is actually only a request. After setting the min and max, you need to retrieve the min and max to see what NSS did. Then you have to reset the min and max versions one more time to actually set the valid range. So yes, you do have to do a set() -> get() -> set().
There also another outstanding issue with NSS where it says the default max SSL version in FIPS mode is 1.3, but in fact it is 1.2. So this patch has a hack fix to workaround that bug. It should be able to be removed soon...
Description:
If we try and set a min and max SSL version in the server, it is actually only a request. After setting the min and max, you need to retrieve the min and max to see what NSS did. Then you have to reset the min and max versions one more time to actually set the valid range. So yes, you do have to do a set() -> get() -> set().
There also another outstanding issue with NSS where it says the default max SSL version in FIPS mode is 1.3, but in fact it is 1.2. So this patch has a hack fix to workaround that bug. It should be able to be removed soon...
https://pagure.io/389-ds-base/issue/50355