More work to make certificate manager and keystore as separate NPM modules

Jira Issue: WP-794