Overhaul of the adress based queries. Implement all test cases, make
sure the quering works as it should.
Keep the actual certificate in the database instead, dump to file as
needed (as curl will not work with certificate in a string)
Cleanups, use foo := func() rather then select * into foo from func;
Enumerate columns for insert.