generate/store realm certificate
app cert support, bug fixes
Merge remote-tracking branch 'upstream/master'
db
Merge pull request #765 from patriot1burke/master

app cert generation support