If you ever need to include a certificate for example inside your exe, you need to make it embedded, and then use the following piece of code to access it and create a certificate.