Picture of Markus Münch
Error: unable to verify the first certificate
by Markus Münch - Wednesday, 4 November 2020, 9:03 AM
 

Hello community,

The hosting provider of our installation of adapt learning has changed some settings: He said, he did SSL injection with a trusted certificate between proxy and client.

Since then the preview of any module throws an error:

Command failed: grunt server-build:prod --outputdir=courses\5d5124e1698765131c34871b\5fa24d5c742f3c13d84567d3\build --theme=5f0ebfc923434a07c0f8e288 --menu=adapt-contrib-boxMenu

Fatal error: {
"message": "resource 'https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700' gave this Error:\n  Error: unable to verify the first certificate\n",
"type": "File",
"filename": "src/theme/5f0ebfc923434a07c0f8e288/less/_defaults/_font-config.less",
"index": 129,
"line": 4,
"column": 0,
"callLine": null,
"extract": [
  "// --------------------------------------------------",
  "@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700');",
  "// --------------------------------------------------"
]
}

Any help appreciated.

Many thanks,
Markus

Picture of John Niezen
Re: Error: unable to verify the first certificate
by John Niezen - Tuesday, 10 November 2020, 6:10 AM
 

The error means it cannot read the google site anymore. either you change your .less file, or your providers ensures you can reach that font from your adapt instance.

Picture of Markus Münch
Re: Error: unable to verify the first certificate
by Markus Münch - Tuesday, 10 November 2020, 8:51 AM
 

Dear John,

Many thanks! The second is not possible, therefore I will change the .less file.

Kind regards, Markus