Two-Factor Authentication - windows server

Two-Factor Authentication
i just got the 2fa module from the doli store and running into issues getting it installed
i just uploaded it into dolibarr and it had me change the config
added this into config.php

// ... existing code ...
$dolibarr_main_authentication = 'twofactor';
// ... existing code ...
Authentication with U2F device requires that your hosting uses a valid SSL certificate!

You need to enable Two-Factor authentication by changing this line in conf.php: $dolibarr_main_authentication = 'twofactor';

it will not let me use it when i try and restart the server
any ideas on why

i have done some more digging and i still have not found to mutch on this