Hello @Arun75
Thanks for reaching out to us!. Sorry for the delay in response, as the whole document needed to be verified. Both scenarios Group and Individual.
We are able to successfully provision/run the Java sample Code in this scenario. Not able to repro the issue reported by you.
Here are the validation steps which gives an overview:
After the Group enrollment using x509-success, we worked on Individual device enrollment which worked as well.
Below is the summary snaps of Modifications to enroll a single X.509 device
Code changes: ServiceEnrollmentSample.java
Changes made to the Main method and removed the unwanted variables as per instructions.
Comment out the last lines, so that the Enrollments are not deleted.
Finally, Build and run the project.
Troubleshooting suggestions on your issue:
Please verify if you are using the right certificate for this scenario as per the instructions?
Please confirm if the .java file is well-edited as per all instructions? Please rebuild and run the project for every small modification as well.
Please let us know if you need further help in this matter.