Security
The https service was allowed in the public zone with a runtime-only command, and the rule works. The rule must still be in effect after the server reboots. Which two commands achieve this? (Choose two.)
Choose 2 answers
Show the answer
Correct answersA. firewall-cmd --permanent --zone=public --add-service=httpsB. firewall-cmd --runtime-to-permanent
--runtime-to-permanent copies the running configuration to disk, and --permanent --add-service writes the rule directly to the permanent configuration, which is loaded at boot. Re-running --add-service without --permanent only changes the runtime state again, and --reload discards runtime-only rules.