Steps to reproduce
- Create an end entity with token type User Generated
- Issue a certificate for this end entity
- Set the status of the end entity to new
- Go to the RA web, choose Enroll -> Use Username
- Enter the name and the enrolment code of the end entity.
- Click "Check"
Problem: Old CSR is used, it is not possible to change CSR.