04-08-2025 02:16 PM
Hi All,
I've created an application that uses the NI Web Server. I was using LV 2020. I had built and installed and was running the app on a VPS with no problems. I then upgraded to LV 2025 Q1, rebuilt my exe and installer, and tried to install it on the VPS. It failed. So I uninstalled all the 2020 stuff and tried again. It again failed. I've spent the last couple of days searching the internet and trying solutions and variations of what I found. https://forums.ni.com/t5/NI-Package-Manager-NIPM/An-error-occurred-while-installing-the-MSI-at-nisys... and https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x8g3CAA&l=en-US for example.
I finally figured out how to install from a command line and create a log file. Part of it is attached; it was too long to attach the whole thing. It seems that problem is running openssl:
CAQuietExec: RabbitMQ Base: C:\ProgramData\National Instruments\Skyline\RabbitMQ
CAQuietExec: --------------------------------------------------
CAQuietExec: Configuring RabbitMQ
CAQuietExec: --------------------------------------------------
CAQuietExec: Stopping RabbitMQ...
CAQuietExec: Finding available RabbitMQ port...
CAQuietExec: Found available port: 5673.
CAQuietExec: Finding available distribution port...
CAQuietExec: Found available port: 25673.
CAQuietExec: Finding available management interface port...
CAQuietExec: Found available port: 15673.
CAQuietExec: RabbitMQ environment created.
CAQuietExec: RabbitMQ config created.
CAQuietExec: Checking certificate...
CAQuietExec: Generating new certificate...
CAQuietExec: Running OpenSSL from C:\Program Files\National Instruments\Shared\Skyline\OpenSSL\openssl.exe
CAQuietExec: Failed certificate generation.
Exception info:
System.AggregateException: One or more errors occurred. ---> System.Security.Cryptography.CryptographicException: Error generating certificate. Ensure the entered names are valid DNS names or IP addresses. ---> System.Security.Cryptography.CryptographicException: There was an error running OpenSSL. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified
If anyone can point me in the right direction to fix this, I would be forever grateful...
Thanks!
John
Solved! Go to Solution.
04-15-2025 05:23 AM
Hello JohnEE,
This is a very interesting issue. I did some digging and found this thread: Solved: issues with NI skyline product and rabbitmq server... - NI Community
The marked solution implies reinstallation of NI services such as Skyline or RabbitMQ which aren't visible in NIPM unless you uncheck "Products Only". Have you tried updating/reinstalling these non-product items?
Otherwise, the following lines in the log you provided:
> CAQuietExec: Running OpenSSL from C:\Program Files\National Instruments\Shared\Skyline\OpenSSL\openssl.exe
> There was an error running OpenSSL. ---> The system cannot find the file specified
makes me believe that OpenSSL is either missing or it's lost in another directory. Is there a way you can copy the folder C:\Program Files\National Instruments\Shared\Skyline\ and paste it into your new installation? It might still not work, but my idea is to put the necessary file (openssl.exe) under the expected directory path.
Let me know how it goes!
Messenger2
04-15-2025 08:17 AM
Hi Messanger2,
I too found that thread and tried it; no luck.
I was running LV2020 before I had this issue. I had always created an installer to put the runtime and web services onto a VPS. I upgraded to LV2025 and it turns out that trying to use an installer was what was giving me the problems. (I lost count of how many times I tried to uninstall and reinstall things, trying different tweaks.)
I finally uninstalled all NI software in the NIPM (unchecking the "Products Only" box) and created a Package instead of an Installer. After using NIPM to install the package, I got everything to work.
I apologize for not posting this yesterday after I got everything working and marking it solved so you didn't spend your time with it.
Thanks for your help!
John
04-15-2025 09:47 AM - edited 04-15-2025 09:51 AM
I upgraded to LV2025 on another VPS and found that I did not have to uninstall NI software first. Just make a package with the new build and install via NIPM. The package manager took care of upgrading the web server, adding the runtime, etc.
As an aside, I had read that you do not necessarily need to upgrade NI Web Server. I tried without upgrading and it did not work. Including the 2025 NI Web Server in the package build made everything work as it should.
John