app cert generation support

App cert generation support (REST and admin console).  Needed for SAML client signatures.  Also fixed a couple of minor bugs in admin console