Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C:\\downloads\\ojdkbuild.zip either does not exist or is not a valid file system path - The certificate chain was issued by an authority that is not trusted. #414

Open
Sivalingaamorthy opened this issue Nov 3, 2020 · 0 comments

Comments

@Sivalingaamorthy
Copy link

While trying to setup the Sitecore 9.3 getting the below error, seeking inputs or help on this.

ISSUE

01:43:49:725: Done with 'sitecore-assets:9.3.0-nanoserver-1909', but not pushed since 'Registry' was empty.
01:43:49:727: Processing 4 of 17 'sitecore-openjdk:8-nanoserver-1909'...
Sending build context to Docker daemon 3.584kB
Step 1/11 : ARG BUILD_IMAGE
Step 2/11 : ARG BASE_IMAGE
Step 3/11 : FROM $BUILD_IMAGE as builder
---> 692891bba769
Step 4/11 : SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
---> Using cache
---> 15b3b81716c8
Step 5/11 : ENV JAVA_HOME C:\ojdkbuild
---> Using cache
---> d8b29ed4e54e
Step 6/11 : ENV JAVA_OJDKBUILD_VERSION java-1.8.0-openjdk-1.8.0.252-2.b09
---> Using cache
---> b0e70e3e52c6
Step 7/11 : ENV JAVA_OJDKBUILD_ZIP java-1.8.0-openjdk-1.8.0.252-2.b09.ojdkbuild.windows.x86_64.zip
---> Using cache
---> 38c9aa44339d
Step 8/11 : RUN New-Item -Path 'C:\downloads' -ItemType 'Directory' -Force | Out-Null; curl.exe -sS -L -o C:\downloads\ojdkbuild.zip $('https://github.com/ojdkbuild/ojdkbuild/releases/download/{0}/{1}' -f $env:JAVA_OJDKBUILD_VERSION, $env:JAVA_OJDKBUILD_ZIP); Expand-Archive 'C:\downloads\ojdkbuild.zip' -DestinationPath C:; Move-Item -Path ('C:\{0}' -f ($env:JAVA_OJDKBUILD_ZIP -Replace '.zip', '')) -Destination $env:JAVA_HOME;
---> Running in d48490c583f2
curl: (77) schannel: next InitializeSecurityContext failed: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted.
Expand-Archive : The path 'C:\downloads\ojdkbuild.zip' either does not exist
or is not a valid file system path.
At line:1 char:323

  • ... BUILD_ZIP); Expand-Archive 'C:\downloads\ojdkbuild.zip' -Destinatio ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (C:\downloads\ojdkbuild.zip:S
      tring) [Expand-Archive], InvalidOperationException
    • FullyQualifiedErrorId : ArchiveCmdletPathNotFound,Expand-Archive

The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; New-Item -Path 'C:\downloads' -ItemType 'Directory' -Force | Out-Null; curl.exe -sS -L -o C:\downloads\ojdkbuild.zip $('https://github.com/ojdkbuild/ojdkbuild/releases/download/{0}/{1}' -f $env:JAVA_OJDKBUILD_VERSION, $env:JAVA_OJDKBUILD_ZIP); Expand-Archive 'C:\downloads\ojdkbuild.zip' -DestinationPath C:; Move-Item -Path ('C:\{0}' -f ($env:JAVA_OJDKBUILD_ZIP -Replace '.zip', '')) -Destination $env:JAVA_HOME;' returned a non-zero code: 1
Failed: docker image build --isolation 'hyperv' --build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1909 --build-arg BASE_IMAGE=mcr.microsoft.com/windows/nanoserver:1909 --tag
'sitecore-openjdk:8-nanoserver-1909' 'C:\project\docker-images\build\windows\dependencies\sitecore-openjdk'
At C:\project\docker-images\build\modules\SitecoreImageBuilder\1.0.0\Public\Invoke-Build.ps1:234 char:74

  • ... here-Object { $_ } | ForEach-Object { throw "Failed: $buildCommand" }
  •                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (Failed: docker ...tecore-openjdk':String) [], RuntimeException
    • FullyQualifiedErrorId : Failed: docker image build --isolation 'hyperv' --build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1909 --build-arg BASE_IMAGE=mcr.microsoft.com/wi
      ndows/nanoserver:1909 --tag 'sitecore-openjdk:8-nanoserver-1909' 'C:\project\docker-images\build\windows\dependencies\sitecore-openjdk'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant