adjusting the cert module to work with the new apache module

used by foreman