#When using the command, I have the following error: dagger init --sdk=python --source=./dagger

1 messages ยท Page 1 of 1 (latest)

frank socket
short olive
# frank socket this is error

hey Juan! could you run the command with dagger init -vvv to see if we can get more information about the error in the output? thx!

frank socket
frank socket
#

this is dagger cloud

short olive
#

did you provision the Dagger engine with the correct certificate?

frank socket
#

How can I provide the certificate?

short olive
#

LMK if you have any questions!

frank socket
#

Yes, I already did it that way and I still get the error

short olive
frank socket
#

tks

frank socket
short olive
# frank socket

@frank socket can you docker exec in the Dagger engine container and check if the certificate is effectively at /user/local/share/ca-certificates/?

frank socket
#

ok

#

total 16
drwxr-xr-x 1 root 1001 4096 Feb 12 14:19 .
drwxr-xr-x 1 root 1001 4096 Feb 12 14:19 ..
drwxr-xr-x 2 root root 4096 Jan 8 09:56 ca-certificates
drwxr-xr-x 1 root 1001 4096 Feb 12 14:19 dagger
/usr/local/share # cd ca-certificates/

short olive
#

@frank socket what's inside the ca-certificates folder?

frank socket
short olive
# frank socket

Ok, this seems to be the issue. Looks like you're not mounting the certificate correctly

#

Your .crt file should be there

frank socket
#

OK thanks

I'm going to try it

frank socket
#

No, I definitely cannot do it, I will request help from the company's security, every time it comes to obtaining the go dependencies that Dagger needs, I have the restriction.

short olive
frank socket
#

docker run --rm
-v /var/lib/dagger
-v $PWD/ca-certificates:/usr/local/share/ca-certificates/
--name dagger-engine-custom
--privileged
registry.dagger.io/engine:v0.15.4

#

hello @short olive

short olive
#

Hey @frank socket ! seems correct. Wondering how come you can't see the files in the engine container after it starts

frank socket
#

If I do, I try to copy the certificate to the specific location, but I still get the error

short olive
frank socket
#

I am a little confused with so many things I have done, could you help me with a step by step to follow according to the conversation we have had? or have a space and be able to review it! I would appreciate it very much

short olive
frank socket
#

Should I check that part of the company with security? Or can I obtain that certificate from my computer?

short olive
#

That's probably why it never worked ๐Ÿ˜‚

#

So generally your IT department should instruct you where to get it

#

I'd assume there's a way to get it from the computer also, but it depends how each company sets it up