Resolution: Not needed to fix
Affects Version/s: EJBCA 126.96.36.199, EJBCA 7.0.0
Fix Version/s: EJBCA 7.1.0
Sprint:EJBCA Team Alice - 2019 w13
Steps to reproduce:
Under 'CA Functions' click on Certification Authorities
Under 'Add CA' insert 'Test_7458' and click on 'Create...' button
Under section 'CA Certificate Data' choose 'External CA' from the drop down list for 'Signed By'
Under section 'Externally signed CA creation/renewal' click on 'Choose File' button
Choose any file format that is not expected there i.e a .jar file
Click on 'Make Certificate Request' button
Observe that you are redirected to the certificate authority page and Invalid certificate chain error is shown in the top of the page but the Externally Signed CA shows up in the CAs list which is wrong behavior, because a CSR could not be created.
So a proper way to handle this (as suggested by Tomas Gustavsson below) is to not leave create ca page in such case and show a good error message to user and let her/him to fix the upload and try again.