We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

shiva
Posts: 3
Joined: Tue Nov 29, 2016 1:57 pm

Using Wildcard certificate for https binding

Hi,

We have a wildcard certificate installed on our server and I would like to use it for the https binding when making the installer. To do so when making the installer I add a https binding and in the ssl certificate I select using existing server certificate and add the thumbprint of the certificate using the pfx file. but when I install the application using the installer build with the https settings I get an error "there was an error while processing digital certificate for website 'web site name'" and the installer will roleback to the last iis settings.

Could you please advise as to how I can use a wildcard certificate for https binding?

Thanks in advance,
Shiva
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Using Wildcard certificate for https binding

Hello Shiva and welcome to our forums,

I can't say why this happens. Can you please make sure you have correctly specified the certificate store where the certifiacte is installed?

Can you please send us the .AIP (project file) and a 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
shiva
Posts: 3
Joined: Tue Nov 29, 2016 1:57 pm

Re: Using Wildcard certificate for https binding

Hi daniel,

Thanks for your reply I have send an email to the provided email with the files you had requested. And I have rechecked the store and the certificate is installed under personal store.

Kind regards,
Shiva
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Using Wildcard certificate for https binding

Hello Shiva,

I've tested your installation scenario on a Windows Server 2012 R2 machine (using a test wildcard certificate) and the web site installatin and the HTTPS bindings were successfully set. Can you please try to remove the HTTPS bindings settings from your installation project, rebuild and install it and, then try to manually set the HTTPS bindings from IIS Manager and see how this works? Maybe there is a problem with your wildcard certificate.

Also, for testing purposes you could try these steps:
1. export the wildcard certificate from IIS Manager and then open your setup project in Advanced Installer, go to "IIS page -> "Bindings/SSL tab" and for the HTTPS entry manually pick the "Thumbprint (Hash)" of your certififcate from disk using the [...] picker
2. leave empty the "Host Name" fields of your bindings

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shiva
Posts: 3
Joined: Tue Nov 29, 2016 1:57 pm

Re: Using Wildcard certificate for https binding

Hi Daniel,

The Wildcard certificate works fine. What you suggest is how I currently make the installations. First install trough installer without the HTTPS and then add the HTTPS binding from IIS, but seeing that I need to install the application for multiple clients this becoming more of a hassle and makes the installations take longer than necessary.
What you suggest for testing purposes is how I had filled in the "Thumbprint (Hash)", through using the .pfx file. But just to be sure I reexported the certificate and tried again without any success. could you please let me know if you changed something in the installer project file to get this working?

Also was your test wildcard certificate a domain certificate or not?

Kind regards,
Shiva
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Using Wildcard certificate for https binding

Hello Shiva,

Yes, I've used a wildcard certificate for a domain. Also, I've used a sample project (created with AI 12.6.1) with almost the same settings as yours.

For testing purposes, can you please follow the "How to create a self-signed certificate for a domain name for development?" thread to create, using makecert.exe, a test certificate in the Personal store of your IIS server and test your web site installation using the created test certificate? Let us know how this works. If this works, maybe you can see any differences between your certificate and the test ones.

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

Return to “Building Installers”