cancel
Showing results for 
Search instead for 
Did you mean: 
RMB
Mission Specialist
Mission Specialist
  • 651 Views

ch10s04 - Error: SSL certificate verify failed when execute podman build command

Jump to solution

Hello,

I had an error with the SSL certificate when I tried to build the execution environment for the last lab in Chapter 10.

 

- Command executed: 

ansible-builder build --tag hub.lab.example.com/system/ee-review-rhel8:v1.0

or

podman build -f context/Containerfile -t hub.lab.example.com/system/ee-review-rhel8:v1.0 context

 

- Error

SSL certificate verify failed

RMB_0-1727354618105.png

 

- Solution

I added this parameter to the execution-environment.yml configuration file:

 

version: 1

build_arg_defaults:

  ANSIBLE_GALAXY_CLI_COLLECTION_OPTS: "-c"

 

RMB_1-1727354808315.png

 

After adding this and rebuilding the environment, everything worked perfectly!

I hope this helps anyone who encounters the same problem!

RMB_2-1727354830584.png

 

1 Solution

Accepted Solutions
Chetan_Tiwary_
Community Manager
Community Manager
  • 594 Views

@RMB  I was unable to replicate this issue in my DO374 lab : ch10s04 step 8:

Chetan_Tiwary__0-1727380432606.png

Chetan_Tiwary__1-1727380474406.png

View solution in original post

5 Replies
rhnoname
Flight Engineer Flight Engineer
Flight Engineer
  • 638 Views

Hi,

I will keep it in mind.

Thanks for sharing!

Best Regards
Chetan_Tiwary_
Community Manager
Community Manager
  • 609 Views

@RMB Thanks for letting us know here. I will check and report it as well!

0 Kudos
Chetan_Tiwary_
Community Manager
Community Manager
  • 595 Views

@RMB  I was unable to replicate this issue in my DO374 lab : ch10s04 step 8:

Chetan_Tiwary__0-1727380432606.png

Chetan_Tiwary__1-1727380474406.png

RMB
Mission Specialist
Mission Specialist
  • 483 Views

Hi!,

I tried again, this time I just used the podman build command to see what would happen and it worked:

[student@workstation ee-build]$ podman build -f context/Containerfile \ > -t hub.lab.example.com/system/ee-review-rhel8:v1.0 context

 

Maybe the problem it was just not using podman build and using the ansible-builder build command instead.

RMB_0-1727785720290.png

 

Thanks!

Roberto 

Chetan_Tiwary_
Community Manager
Community Manager
  • 472 Views

@RMB glad that it is resolved for you!

0 Kudos
Join the discussion
You must log in to join this conversation.