Create an embedded certificate and access it with the following awesome code I found online.