themetman's picture

I am creating a new backdrop site locally. I am running Linux Mint 20.

the command:

drush dlb backdrop

Fails



ERROR: cannot verify github.com's certificate......

I can use wget as below which works, but I have the drush dlb backdrop in a script, so need that to work.

 wget --no-check-certificate  https://github.com/backdrop/backdrop/releases/download/1.19.0/backdrop.zip

I have tried this command to update the ca certificates, but no good.

sudo update-ca-certificates -f

How can I fix this?

Accepted answer

I assume you mean dlb, since you're also referencing wget.

In your wget command, you specify the --no-check-certificate option, which would eliminate the check error you're seeing with the drush command. What happens if you try the wget command without that option?

I think this is a problem with your OS configuration or installed software. Maybe you can try what is recommended in this message: https://forums.linuxmint.com/viewtopic.php?p=1841169&sid=cbf076166ddbfdb...

 

Comments

oadaeh's picture

I assume you mean dlb, since you're also referencing wget.

In your wget command, you specify the --no-check-certificate option, which would eliminate the check error you're seeing with the drush command. What happens if you try the wget command without that option?

I think this is a problem with your OS configuration or installed software. Maybe you can try what is recommended in this message: https://forums.linuxmint.com/viewtopic.php?p=1841169&sid=cbf076166ddbfdb...

 

themetman's picture

Sorry, @oadaeh, yes it should be drush dlb backdrop, dyslexic slip, I have corrected the post.

Here is the output of the wget command without the --no-check-certificate

--2021-05-17 14:52:26--  https://github.com/backdrop/backdrop/releases/download/1.19.0/backdrop.zip
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
ERROR: cannot verify github.com's certificate, issued by ‘CN=DigiCert High Assurance TLS Hybrid ECC SHA256 2020 CA1,O=DigiCert\\, Inc.,C=US’:
  Unable to locally verify the issuer's authority.
To connect to github.com insecurely, use `--no-check-certificate'.

 

themetman's picture

@oadaeh I did try the fix in the link, but no good.

 

Cheers

themetman's picture

@klonos you are correct it should be drush dlb backdrop

themetman's picture

I think it must be something to do with my machine. I have just tried running  drush dlb backdrop on my Laptop also running Linux Mint 20 and there was no problem.

 

themetman's picture

For information @klonos and @oadaeh

As a follow up to this I had an ssl error when trying to update modules on my lopcal sites. I assumed this was the same problem as above.

I solved this by using Timeshift.
I decided to use Timeshift to go back and see when the error had crept in.
I went back by days and weeks to 2021-05-02 before the problem cleared.
I then upgraded the system and all is well now, I have no idea what happened to cause the problem.

All fixed.