Sync log entries to log_entry table
Parse X509 certificates, print distinguished names
Write domain to DB
Catch-and-handle certs that don't parse correctly

JAVA STYLE.

This code is very bad. I know. I just need to commit it for now. :P
Debug output for when syncing
Add foreign constraint to log_entry(log_server_id)
Add indexes to speed up slow queries