This blog will help you if you are trying to set up the Sitecore Next JSS application using Docker and come across an error -' The certificate chain was issued by an authority that is not trusted '
Error Screenshot:
Follow the following steps to resolve the issue:
1. Go to the file - 'nuget.config' and change HTTPS to HTTP as shown below.
<add key="Nuget" value="http://api.nuget.org/v3/index.json" />
<add key="Sitecore" value="http://sitecore.myget.org/F/sc-packages/api/v3/index.json" />
RUN nuget restore -Verbosity quiet
3. Go to the file- '\docker\build\nodejs\Dockerfile' and change the command as shown in the screenshot below.
RUN curl.exe -sS -k -L -o node.zip https://nodejs.org/dist/v%NODEJS_VERSION%/node-v%NODEJS_VERSION%-win-x64.zip"
.png)
No comments:
Post a Comment