fix a couple of compile warnings and add CA {} block to the config file