Re: Server Certificate Invalid or not present.

65 views
Skip to first unread message
Message has been deleted

Martijn Laan

unread,
Jun 10, 2021, 8:05:27 AMJun 10
to inno...@googlegroups.com
Hi,

Op 10-6-2021 om 12:26 schreef Khaled Al-Noami:
On some Windows 7 computers, I am getting the following error message:
Server Certificate Invalid or not present.

It happens when the setup program execute the command: 
DownloadPage.Download;
and then the download failed. 

Is there anyway to solve this issue?

Most likely these computers haven't been properly updated using Windows Update and because of this don't support this servers certificate.

Greetings,
Martijn

Khaled Al-Noami

unread,
Jun 10, 2021, 3:01:05 PMJun 10
to innosetup
Hi,

Is there any workaround or solution for this case? We can't force all people to update their Windows.

Greetings,
Khaled

Martijn Laan

unread,
Jun 10, 2021, 3:48:37 PMJun 10
to inno...@googlegroups.com
Op 10-6-2021 om 21:01 schreef Khaled Al-Noami:
Is there any workaround or solution for this case? We can't force all people to update their Windows.

If you want to support old versions of Windows you need to host files on http instead of https.

Greetings,
Martijn

Secto Kia

unread,
Jun 25, 2021, 8:31:32 AMJun 25
to innosetup
Here is how I get around it:

Download the rootCA cert for the HTTPS download server you are using (you can just get this from your webbrowser).

Then download "certmgr.exe" from microsoft (google it).

Then add both the cert file and certmgr.exe as [Files] to the installer.

Then add a [Run] section to run certmgr and have the cert added, you will have to look up the various arguments.

Then do your downloads.




Reply all
Reply to author
Forward
0 new messages