Downloads.mender.io is not trusted by Debian WSL command line on Win 10

> fruit@DESKTOP-AEBHEGB:~$ wget https://downloads.mender.io/mender-artifact/3.10.2/linux/mender-artifact -F
> --2023-11-15 11:10:02--  https://downloads.mender.io/mender-artifact/3.10.2/linux/mender-artifact
> Resolving downloads.mender.io (downloads.mender.io)... 99.84.238.195, 99.84.238.148, 99.84.238.187, ...
> Connecting to downloads.mender.io (downloads.mender.io)|99.84.238.195|:443... connected.
> ERROR: The certificate of ‘downloads.mender.io’ is not trusted.
> ERROR: The certificate of ‘downloads.mender.io’ doesn't have a known issuer.
> fruit@DESKTOP-AEBHEGB:~$ wget https://downloads.mender.io/mender-artifact/3.10.2/linux/mender-artifact -T
> wget: option requires an argument -- 'T'
> wget: --timeout: Invalid time period ‘https://downloads.mender.io/mender-artifact/3.10.2/linux/mender-artifact’
> fruit@DESKTOP-AEBHEGB:~$ wget https://downloads.mender.io/mender-artifact/3.10.2/linux/mender-artifact -t
> wget: option requires an argument -- 't'
> wget: missing URL
> Usage: wget [OPTION]... [URL]...
> 
> Try `wget --help' for more options.
> fruit@DESKTOP-AEBHEGB:~$ wget https://downloads.mender.io/mender-artifact/3.10.2/linux/mender-artifact --trust
> --2023-11-15 11:10:23--  https://downloads.mender.io/mender-artifact/3.10.2/linux/mender-artifact
> Resolving downloads.mender.io (downloads.mender.io)... 99.84.238.195, 99.84.238.187, 99.84.238.98, ...
> Connecting to downloads.mender.io (downloads.mender.io)|99.84.238.195|:443... connected.
> ERROR: The certificate of ‘downloads.mender.io’ is not trusted.
> ERROR: The certificate of ‘downloads.mender.io’ doesn't have a known issuer.
> fruit@DESKTOP-AEBHEGB:~$

Now how can I make this URL trusted? Or force the download. I’m limited to command line as I’ve tried 5 different WSL downloads / installs from the App Store and couldn’t get desktop to run on any. I figured the Debian command line then would be the best to go with, but maybe that assumption was false.

Thanks! :smirk::sunglasses::grin::disappointed_relieved:

Hi @EnjoysMath,

first guess: is the instance all updated? Specifically the ca-certificates package.

Greetz,
Josef

1 Like

@TheYoctoJester I dk how to do that. I’m just going to try to install a Linux on a spare machine. Can you recommend one that won’t give me a bunch of hassle trying to do mender artifact creation?

Thanks! :tired_face:

On second thought gonna try VirtualBox