Error: Handling SSL Errors in your AIMMS Project
Issue: While you are opening your AIMMS project you may experience a crash which can manifest with a pop-up error message looking like one of these below:
In any case, in the message you will see the following string certificate verify failed.
Cause: This happens mostly when AIMMS is trying to connect to our Library Repository.
The library repository connection is necessary when your project is using one of our repository libraries and, for some reason, the relevant library has not been yet downloaded to this particular machine.
To verify if you are using a repository library, you can open your .aimms file in a text editor and look for lines starting with RepositoryLibrary, like in the screenshot below:
Normally, when you, as a modeler, add a repository library to your project, it will be downloaded to %localappdata%\AIMMS\AutoLib onto your machine, so that, when you open the project in the future, it is available locally.
However, when transferring projects between different machines, this initial download is skipped, so the download on each new machine is triggered when the project is being opened there for the first time.
Solution: Being now sure that the problem is with the validation of the Library repository certificate, you can perform the steps below to solve it:
1. Try running your Windows updates and restarting your computer. The windows updates will also update your local certificates, after which you have a better chance to be able to go through the validation process.
2. Open the repository library in MS Edge in Internet Explorer mode. The current versions of MS Edge have the option to open Edge in Internet Explorer mode. To activate and apply this, you can follow these steps. Opening Library Repository like this, the local certificate will get downloaded automatically and then you should be able to open your AIMMS project.
3. Transfer a certificate from a machine where you know that the project can be opened. Alternatively, you can transfer a certificate from a machine when you know that you still are able to reach the repository library from AIMMS. To make sure that this is the case, you can open AIMMS and just try andding any library, following these guidelines. If you succeed, this means that the relevant machine possesses the correct local certificate. To figure out which certificate you need from that machine, you can go back to the log file and look for details on the certificate that can not be validated. For example in the screenshot below you will see the following certificate details:
Then, go to the machine that can connect to the Repository Library, open the Certificate Manager (in your Windows search menu, look for certmgr)
and navigate to .
Then look for the certificate from the logs.
Follow these steps to export the certificate:
Once it is exported, use these steps to import it to the new machine: