I am using jscep in a mobile device management project. Jscep uses bouncy castle as the security provider and I have done the same in my project. I have created a few simple static methods to create certificates using BC. These have been tested and work as expected. My problem is related to the Java security provider. In the example below I create two certificates, a CA and end point.I am using jscep in a mobile device management