ometa joey
Posts: 5
Joined: Tue Dec 08, 2015 2:30 pm

Configure dynamically SSL on IIS website - Error 4020

I am having troubles with dynamically configure an IIS website with the ability to enable SSL and select a SSL certificate.

I have attached two files.

Extract from verbose logging from MSI installer:
AI_IIsConfig: Installing "Ometa REST Service"
Error 4031. There was an error while processing the digital certificate for Web Site "Ometa REST Service".
MSI (s) (B4!1C) [14:20:35:299]: Product: Ometa Software Suite -- Error 4031. There was an error while processing the digital certificate for Web Site "Ometa REST Service".

Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.
MSI (s) (B4!1C) [14:20:36:280]: Product: Ometa Software Suite -- Error 4020. There was an error during the IIS configuration process.
Your original IIS configuration will be restored.

CustomAction AI_IIsConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 14:20:36: InstallFinalize. Return value 3.
Is this the proper way to configure this and is it possible to receive more logging to find out where the error occurs?

Version info:
Advanced Installer 11.9 build 63002
Attachments
dialog.png
dialog.png (165.14 KiB) Viewed 3228 times
binding-ssl-settings.png
binding-ssl-settings.png (21.03 KiB) Viewed 3228 times
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Configure dynamically SSL on IIS website - Error 4020

Hello and welcome to our forums,

I'm not so sure why this happens. Firstly, can you please make sure you set the "Port" field of the added HTTPS binding to the formatted reference of your port property like this:

Code: Select all

[REST.HTTPS.PORT]
and see if this helps? If not, then please send us the .AIP (project file) and a full verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ometa joey
Posts: 5
Joined: Tue Dec 08, 2015 2:30 pm

Re: Configure dynamically SSL on IIS website - Error 4020

Hi Daniel,

That did the trick!

Many thanks,
Joey
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Configure dynamically SSL on IIS website - Error 4020

You're always welcome Joey.

I'm glad you got everything working.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”