Fixed IPAdress error message.
Changed cert_db to use Certificates and log_ids.