The --set-wc-sslcert flag is writing over the existing configuration at /system_advanced_admin.php. this is due to the webconfigurator expecting the prefilled values when the save button is hit. Making direct POST requests requires us to fill this in specifically.
Bug is fixed in commit af7620f757b06d601c780122b2bab9812b9abbbc this will retain all existing configuration and only change the SSL certificate selection. Will be released in v0.0.3
The --set-wc-sslcert flag is writing over the existing configuration at /system_advanced_admin.php. this is due to the webconfigurator expecting the prefilled values when the save button is hit. Making direct POST requests requires us to fill this in specifically.