ParrotSec / docker-images

GNU General Public License v3.0
95 stars 25 forks source link

The certificate is NOT trusted. The certificate chain uses expired certificate. [IP: 51.91.152.156 443] #14

Open vdbaan opened 3 years ago

vdbaan commented 3 years ago

I tried to create the parrot/security image by installing the components like it is done in the Dockerfile. However, this is not possible due to a certificate issue.

docker run --rm -ti --network host -v $PWD/work:/work parrotsec/core:lts-arm64
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
┌─[root@docker-desktop]─[/]
└──╼ #apt-get update
Ign:1 https://deb.parrot.sh/parrot lts InRelease
Ign:2 https://deb.parrot.sh/parrot lts-security InRelease
Err:3 https://deb.parrot.sh/parrot lts Release
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 51.91.152.156 443]
Err:4 https://deb.parrot.sh/parrot lts-security Release
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 51.91.152.156 443]
Reading package lists... Done
E: The repository 'https://deb.parrot.sh/parrot lts Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://deb.parrot.sh/parrot lts-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
┌─[✗]─[root@docker-desktop]─[/]
└──╼ #apt-get -y dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
┌─[root@docker-desktop]─[/]
└──╼ #apt-get -y install parrot-pico
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package parrot-pico
sudmed commented 2 years ago

hi vdbaan, how did you solve your problem?

DennisFeldbusch commented 2 years ago

I get the same error... no fix yet

Valefgh commented 8 months ago

I think you can use the debían reposity while the parrot servers Is down You need to add this to /etc/apt/sources.list

deb http://ftp.debian.org/debian buster main deb http://ftp.debian.org/debian buster-updates main

And do apt update again And change /etc/apt/sources.list.d/parrot.list to /etc/apt/sources.list.d/parrot.list.save Using

mv /etc/apt/sources.list.d/parrot.list /etc/apt/sources.list.d/parrot.list.save