Update git submodules

git

#1

To build my project I have to init and update git submodules.
Doing git submodule update --init I’m getting errors like:

Submodule 'evmjit' (https://github.com/ethereum/evmjit) registered for path 'evmjit'
Cloning into '/root/cpp-ethereum/evmjit'...
fatal: unable to access 'https://github.com/ethereum/evmjit/': Problem with the SSL CA cert (path? access rights?)
fatal: clone of 'https://github.com/ethereum/evmjit' into submodule path '/root/cpp-ethereum/evmjit' failed
Failed to clone 'evmjit'. Retry scheduled
Cloning into '/root/cpp-ethereum/evmjit'...
fatal: unable to access 'https://github.com/ethereum/evmjit/': Problem with the SSL CA cert (path? access rights?)
fatal: clone of 'https://github.com/ethereum/evmjit' into submodule path '/root/cpp-ethereum/evmjit' failed
Failed to clone 'evmjit' a second time, aborting
Exited with code 1

Is there a way to fix it?

I would actually prefer checkout step to take care of it.


#2

This is most likely because you’re using a default SSH key, which is a project key. You can either set up your repo with a machine-user key or your own Github user key. I recommend a machine-user key. More info is here.

I think you’ll also need an add_ssh_keys step before your submodule setup, documented here.


#3

My issues was due CA certificates not being installed in the system. Any SSL does not work without them.


#4