Modularization updates to certificate manager

Certificate error handling if modules or input parameters are missing.
Reading of certificate parameters from config.json
Updates to test script to match config.json