Generally the apache plugin will only modify the entries in the sites-available location ( and sites-enabled) however some control panels keep a separate database of locations for ssl files etc, so needs things doing slightly differently.
Are you using a specific control panel ? if so there may be some scripts written already specifically for that control panel. Or are you looking at developing something.