Framework for bootstrapping of devices and applications for open access to trusted services in distributed ecosystems