ERROR: The certificate of 'dl.winehq.org' is not trusted

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
goguadze
Newbie
Newbie
Posts: 2
Joined: Mon Sep 25, 2023 3:39 pm

ERROR: The certificate of 'dl.winehq.org' is not trusted

Post by goguadze »

Hello, just got this error while installing winehq on ParrotOS. It's Debian 10. Does anyone had the same problem?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: ERROR: The certificate of 'dl.winehq.org' is not trusted

Post by jkfloris »

Can you describe how you added the WineHQ certificate to your system?

If you haven't added the certificate yet, you can add it with:
(If necessary, remove other references to winehq.org from /etc/apt/sources.list)

Code: Select all

# Create the keyrings directory:
sudo mkdir -pm755 /etc/apt/keyrings

# Download the WineHQ certificate:
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

# Add the Debian 10 (Buster) repository:
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/buster/winehq-buster.sources

# Update the package information:
sudo apt update
goguadze
Newbie
Newbie
Posts: 2
Joined: Mon Sep 25, 2023 3:39 pm

Re: ERROR: The certificate of 'dl.winehq.org' is not trusted

Post by goguadze »

Thank you for your reply, it worked.
Locked