https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxODE1IiwiaGFzaCI6ImEwZTVmOGU4LWUyNDQtNGI5MS05YWE4LTAxMTVkN2VmMTFiNiJ9
1-800-691-1991 | 9am - 8pm ET
EN

Error installing BEM – System.IndexOutOfRangeException: Index was outside the bounds of the array

Challenge

User-added image

Cause

As indicated by this line in the error message "VmEMSetup.Dialogs.VMEMDialog_AddConfig.EnumSSLCertificates()", there is an issue parsing certificates with an empty Subject field, and they will need to be removed. The offending certificates are not self-signed because they are generated from Active Directory Certificate Services.

Solution

Remove the certificates that are causing the problem. To do so:

1. First, log onto the Enterprise Manager server and perform the following steps:

·         You will need a small .EXE that will assist with this workaround. Please request the zip file with this .EXE from Support.
·         Download the zip file to the Web Server we are trying to install the Enterprise Manager onto. Once the zip file has been downloaded, extract both files to this directory:
 
C:\Tools\EnumCert\
 
2. Now open the COMMAND PROMPT utility and run this command to execute the .EXE you just extracted: C:\Tools\EnumCert\EnumSSLCertificates.exe

User-added image

 
Press ENTER and then look at the list of certificates it generates. DO NOT close this window yet because we will need it after completing steps 3 through 6.
 
3. Click Start and then left-click on the ‘Run’ utility. Type mmc and press ENTER.

User-added image

4. Click File, then click Add/Remove Snap-Ins...

User-added image

A new window will appear allowing you to add the snap-in described in step 5.

5. Select Certificates, then click Add. Now select “Computer account” then click NEXT. Make sure "Local Computer" is select then click Finish. Lastly, click OK and the Certificates list should now appear in the left column.

User-added image

6. Click the + beside Certificates. Then click the + beside Personal. Now left-click on Certificates to view them.

User-added image

7. Remove the certificates that are listed in the COMMAND PROMPT window.

8. Try to Install the Enterprise Manager again.

More information

This occurs during installation of the Backup Enterprise Manager.
KB ID:
1815
Product:
Veeam Backup & Replication
Version:
Backup Enterprise Manager
Published:
2013-09-05
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.