A1.139 : License: Get Online for License – The remote certificate is invalid according to the validation procedure

A1.139 : License: Get Online for License – The remote certificate is invalid according to the validation procedure

Question: Why there is an error ‘The remote certificate is invalid according to the validation proccedure.’ when I try to ‘Get Online’ at AutoCount Server license setting?

Remote cert invalid1.png


Possible Reason:

The server computer unable to detect SSL certificate which might be due to Antivirus or network blocked, or computer date and time is not updated.


Solution:

1) Make sure your computer date and time is updated because SSL certificate are tied to a fixed period. You may set time automatically and synchronize your clock from Date & Time setting.

Remote cert invalid2.png


2) Unblock from antivirus and network.
Please make sure to give access to this website https://apilicense.autocountsoft.com for AutoCount license to update.
Please make sure when access this website https://apilicense.autocountsoft.com/api/license/get and you will get below message: API Is Running

Remote cert invalid3.png


3) Make sure your certificate is valid.
Click on view site information button and click on Connection is secure.

Remote cert invalid4.png


Click on Certificate is valid, and make sure your certificate is valid.

Remote cert invalid5.png

Remote cert invalid6.png


Then you should be able to get online and update the license.


By: Ju Lee 220311, Lay Swan 220328, P220330



Possible Reason (2):

The server computer unable to update Trusted Root Certificates automatically in Windows.


Solution (2):

Update Trusted Root Certificates.
You may download the package installer from the link below according to your Windows Version.

https://support.microsoft.com/en-us/topic/support-for-urgent-trusted-root-updates-for-windows-root-certificate-program-in-windows-a4ac4d6c-7c62-3b6e-dfd2-377982bf3ea5

Remote cert invalid7.png


Run the installer and click Yes to start the installation. After successful installation, restart your computer.

Remote cert invalid8.png


Remote cert invalid9.png


For other Window version, you may try to Disable Turn off Automatic Root Certificates Update from Local Group Policy Editor.

Type Run at Window Search and click on it.

Remote cert invalid10.png


Type gpedit.msc and click OK to open the Local Group Policy Editor.

Remote cert invalid11.png


Go to Local Computer Policy > Computer Configuration > Administrative Templates > System > Internet Communication Management > Internet Communication settings, double click to open Turn Off Automatic Root Certificates Update, select Disable and click on Apply and OK.

Remote cert invalid12.png


If you cannot find the gpedit.msc in Window 10 / Window 11, you need to manual install it.

1) Create a gpedit_enabler.bat file
Copy and paste the following content into Notepad and save as All Files type and name the file name as gpedit_enabler.bat

@echo off

pushd "%~dp0"


dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt

dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt


for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"

pause


Remote cert invalid16.png


Remote cert invalid13.png


2) Right click and run as Administrator and it may take some time to process.

Remote cert invalid14.png


3) After completed, press any key to close the command prompt.

Remote cert invalid15.png


4) Restart computer and then you should be able to open Local Group Policy Editor.


--Source from AutoCount Wiki --