Skip to main content

I am trying to setup Sitecore 10.3Sitecore 10.3 with docker containersdocker containers. While trying to run the .\up.ps1.\up.ps1, I am facing below error with the certificate while building the containers:

enter image description here

enter image description here

Unable to load the service index for source https://sitecore.myget.org/F/sc-packages/api/v3/index.json.
An error occurred while sending the request.
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
The remote certificate is invalid according to the validation procedure.
The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; nuget restore -Verbosity quiet' returned a non-zero code: 1
ERROR: Service 'solution' failed to build : Build failed
C:\sitecore\jss\docker\jssdoc\up.ps1 : Container build failed, see errors above.
At line:1 char:1
+ .\up.ps1
+ ~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,up.ps1

I have verified and the pem files are getting created. I also set the environment variable as mentioned here: https://doc.sitecore.com/xp/en/developers/hd/210/sitecore-headless-development/walkthrough--configuring-sitecore-ca-certificates-for-node-js.html

enter image description here

I am trying to setup Sitecore 10.3 with docker containers. While trying to run the .\up.ps1, I am facing below error with the certificate while building the containers:

enter image description here

enter image description here

Unable to load the service index for source https://sitecore.myget.org/F/sc-packages/api/v3/index.json.
An error occurred while sending the request.
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
The remote certificate is invalid according to the validation procedure.
The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; nuget restore -Verbosity quiet' returned a non-zero code: 1
ERROR: Service 'solution' failed to build : Build failed
C:\sitecore\jss\docker\jssdoc\up.ps1 : Container build failed, see errors above.
At line:1 char:1
+ .\up.ps1
+ ~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,up.ps1

I have verified and the pem files are getting created. I also set the environment variable as mentioned here: https://doc.sitecore.com/xp/en/developers/hd/210/sitecore-headless-development/walkthrough--configuring-sitecore-ca-certificates-for-node-js.html

enter image description here

I am trying to setup Sitecore 10.3 with docker containers. While trying to run the .\up.ps1, I am facing below error with the certificate while building the containers:

enter image description here

enter image description here

Unable to load the service index for source https://sitecore.myget.org/F/sc-packages/api/v3/index.json.
An error occurred while sending the request.
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
The remote certificate is invalid according to the validation procedure.
The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; nuget restore -Verbosity quiet' returned a non-zero code: 1
ERROR: Service 'solution' failed to build : Build failed
C:\sitecore\jss\docker\jssdoc\up.ps1 : Container build failed, see errors above.
At line:1 char:1
+ .\up.ps1
+ ~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,up.ps1

I have verified and the pem files are getting created. I also set the environment variable as mentioned here: https://doc.sitecore.com/xp/en/developers/hd/210/sitecore-headless-development/walkthrough--configuring-sitecore-ca-certificates-for-node-js.html

enter image description here

Left closed in review as "Original close reason(s) were not resolved" by Marek Musielak
added 117 characters in body
Added to review
Source Link

I am trying to setup Sitecore 10.3 with docker containers. While trying to run the .\up.ps1, I am facing below error with the certificate while building the containers:

enter image description here

enter image description here

Unable to load the service index for source https://sitecore.myget.org/F/sc-packages/api/v3/index.json.
An error occurred while sending the request.
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
The remote certificate is invalid according to the validation procedure.
The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; nuget restore -Verbosity quiet' returned a non-zero code: 1
ERROR: Service 'solution' failed to build : Build failed
C:\sitecore\jss\docker\jssdoc\up.ps1 : Container build failed, see errors above.
At line:1 char:1
+ .\up.ps1
+ ~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,up.ps1

I have verified and the pem files are getting created. I also set the environment variable as mentioned here: https://doc.sitecore.com/xp/en/developers/hd/210/sitecore-headless-development/walkthrough--configuring-sitecore-ca-certificates-for-node-js.html

enter image description here

I am trying to setup Sitecore 10.3 with docker containers. While trying to run the .\up.ps1, I am facing below error with the certificate:

enter image description here

enter image description here

Unable to load the service index for source https://sitecore.myget.org/F/sc-packages/api/v3/index.json.
An error occurred while sending the request.
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
The remote certificate is invalid according to the validation procedure.
The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; nuget restore -Verbosity quiet' returned a non-zero code: 1
ERROR: Service 'solution' failed to build : Build failed
C:\sitecore\jss\docker\jssdoc\up.ps1 : Container build failed, see errors above.
At line:1 char:1
+ .\up.ps1
+ ~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,up.ps1

I have verified and the pem files are getting created. I also set the environment variable as mentioned here: https://doc.sitecore.com/xp/en/developers/hd/210/sitecore-headless-development/walkthrough--configuring-sitecore-ca-certificates-for-node-js.html

I am trying to setup Sitecore 10.3 with docker containers. While trying to run the .\up.ps1, I am facing below error with the certificate while building the containers:

enter image description here

enter image description here

Unable to load the service index for source https://sitecore.myget.org/F/sc-packages/api/v3/index.json.
An error occurred while sending the request.
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
The remote certificate is invalid according to the validation procedure.
The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; nuget restore -Verbosity quiet' returned a non-zero code: 1
ERROR: Service 'solution' failed to build : Build failed
C:\sitecore\jss\docker\jssdoc\up.ps1 : Container build failed, see errors above.
At line:1 char:1
+ .\up.ps1
+ ~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,up.ps1

I have verified and the pem files are getting created. I also set the environment variable as mentioned here: https://doc.sitecore.com/xp/en/developers/hd/210/sitecore-headless-development/walkthrough--configuring-sitecore-ca-certificates-for-node-js.html

enter image description here

Post Closed as "Duplicate" by Mark Cassidy, Marek Musielak
Mod Moved Comments To Chat
edited tags
Link
added 87 characters in body
Source Link
Loading
Source Link
Loading