LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-05-2023, 07:23 PM   #1
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Rep: Reputation: 3
Angry ProtonVPN not installing on Fedora 38


I have Fedora 38 and I want to install protonVPN. I followed the guide and downloaded the respective rpm package but when I try to install it or update dnf I receive this error:
Code:
ProtonVPN Fedora Stable repository                                                                                                                                                                            0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'protonvpn-fedora-stable':
  - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://repo.protonvpn.com/fedora-38-stable/repodata/repomd.xml [SSL certificate problem: self-signed certificate in certificate chain]
Error: Failed to download metadata for repo 'protonvpn-fedora-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: protonvpn-fedora-stable
Last metadata expiration check: 2:45:09 ago on Mon 05 Jun 2023 05:35:41 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!
[main@fedora Downloads]$


"The error message you're receiving indicates a problem with the SSL certificate for the ProtonVPN repository. More specifically, the error "SSL certificate problem: self-signed certificate in certificate chain" suggests that there's a self-signed certificate somewhere in the certificate chain, which is generally considered insecure and can't be verified.

Here are a few possible solutions:

1. **Verify Your System Time**: An incorrect system time can cause SSL errors. Check to make sure your system time is accurate.

2. **Try Disabling SSL Verification Temporarily**: This isn't recommended for long-term solutions because it can leave your system vulnerable. But, for a quick fix or to see if SSL verification is the issue, you can try this. You'll need to modify your DNF configuration file to disable SSL verification. Here's how:

Open the DNF configuration file in a text editor with root permissions. For example, you can use `sudo` with `nano` like this:
```bash
sudo nano /etc/dnf/dnf.conf
```
Then, add or modify the `sslverify` line to be `False`:
```bash
sslverify=False
```
Save and exit the file. Then try running `sudo dnf update` again.

Remember to set `sslverify` back to `True` once you're done to keep your system secure.

3. **Contact ProtonVPN Support**: If none of the above solutions work, there might be an issue with the repository or the certificate that ProtonVPN needs to fix. Reach out to their support for help.

Remember, solution 2 is not recommended for long-term use as it disables SSL verification, which can leave your system vulnerable. It's primarily a troubleshooting step to help determine where the issue is coming from."


How can I address this?
 
Old 06-05-2023, 09:33 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
The website may be updating... I know I've waited a day or 2.

you could have a look inside the package, see what's changed and what may cause a non-read.

Some packages are like a zip archive, and can be unpacked to a folder. There you can inspect the changes... (by date?)
 
1 members found this post helpful.
Old 06-06-2023, 07:35 AM   #3
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
Red face

Quote:
Originally Posted by GlennsPref View Post
The website may be updating... I know I've waited a day or 2.

you could have a look inside the package, see what's changed and what may cause a non-read.

Some packages are like a zip archive, and can be unpacked to a folder. There you can inspect the changes... (by date?)
It is not updating TBH I think it has something to do with the configuartion files but Idk HOW TO fix it.
 
Old 06-06-2023, 07:38 AM   #4
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
Arrow

I GET THE SAME ERROR AGAIN:
Code:
[main@fedora ~]$ sudo dnf install mongodb-org
MongoDB Repository                              2.1 kB/s | 391  B     00:00    
Errors during downloading metadata for repository 'mongodb-org-4.4':
  - Status code: 404 for https://repo.mongodb.org/yum/redhat/38/mongodb-org/4.4/x86_64/repodata/repomd.xml (IP: 52.85.61.75)
Error: Failed to download metadata for repo 'mongodb-org-4.4': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
ProtonVPN Fedora Stable repository              0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'protonvpn-fedora-stable':
  - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://repo.protonvpn.com/fedora-38-stable/repodata/repomd.xml [SSL certificate problem: self-signed certificate in certificate chain]
Error: Failed to download metadata for repo 'protonvpn-fedora-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: mongodb-org-4.4, protonvpn-fedora-stable
Last metadata expiration check: 0:17:11 ago on Tue 06 Jun 2023 08:19:22 AM EDT.
No match for argument: mongodb-org
Error: Unable to find a match: mongodb-org
SO this is a system problem and meaning that I Just installed a fresh(sexually lewd) of Fedora 38 I don't know what I should have done or not done to address this issue so early in the life of the OS.
 
Old 06-06-2023, 07:59 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,638

Rep: Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966
Quote:
Originally Posted by naarter View Post
I have Fedora 38 and I want to install protonVPN. I followed the guide and downloaded the respective rpm package but when I try to install it or update dnf I receive this error:
Code:
ProtonVPN Fedora Stable repository                                                                                                                                                                            0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'protonvpn-fedora-stable':
  - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://repo.protonvpn.com/fedora-38-stable/repodata/repomd.xml [SSL certificate problem: self-signed certificate in certificate chain]
Error: Failed to download metadata for repo 'protonvpn-fedora-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: protonvpn-fedora-stable
Last metadata expiration check: 2:45:09 ago on Mon 05 Jun 2023 05:35:41 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!
[main@fedora Downloads]$
Code:
"The error message you're receiving indicates a problem with the SSL certificate for the ProtonVPN repository. More specifically, the error "SSL certificate problem: self-signed certificate in certificate chain" suggests that there's a self-signed certificate somewhere in the certificate chain, which is generally considered insecure and can't be verified.

Here are a few possible solutions:

1. **Verify Your System Time**: An incorrect system time can cause SSL errors. Check to make sure your system time is accurate.
2. **Try Disabling SSL Verification Temporarily**: This isn't recommended for long-term solutions because it can leave your system vulnerable. But, for a quick fix or to see if SSL verification is the issue, you can try this. You'll need to modify your DNF configuration file to disable SSL verification. Here's how:
    Open the DNF configuration file in a text editor with root permissions. For example, you can use `sudo` with `nano` like this:
       bash sudo nano /etc/dnf/dnf.conf
    
    Then, add or modify the `sslverify` line to be `False`:
       bash sslverify=False
    
    Save and exit the file. Then try running `sudo dnf update` again. 
    Remember to set `sslverify` back to `True` once you're done to keep your system secure.

3. **Contact ProtonVPN Support**: If none of the above solutions work, there might be an issue with the repository or the certificate that ProtonVPN needs to fix. Reach out to their support for help.

Remember, solution 2 is not recommended for long-term use as it disables SSL verification, which can leave your system vulnerable. It's primarily a troubleshooting step to help determine where the issue is coming from."
How can I address this?
So did you do any of those things?? Specifically step 3...calling the support you pay for??

The website referenced is up now, and works fine for me; installation steps for Fedora:
https://protonvpn.com/support/offici...ux-vpn-fedora/

The second problem is totally different...because it's a different website/repository, which could be down right now. Mongo DB has nothing to do with Proton VPN, and the URL you have for that repository is incorrect; just going to the base of https://repo.mongodb.org/yum/redhat shows that there IS no such path. The how-to guides are at least a year old, and have warnings on them that the information is deprecated, and will be removed. Most up to date:
https://computingforgeeks.com/instal...centos-fedora/

The protonvpn 'error' is only telling you that it's a self-signed certificate.
 
1 members found this post helpful.
Old 06-06-2023, 09:11 AM   #6
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
Exclamation

Quote:
Originally Posted by TB0ne View Post
So did you do any of those things?? Specifically step 3...calling the support you pay for??

The website referenced is up now, and works fine for me; installation steps for Fedora:
https://protonvpn.com/support/offici...ux-vpn-fedora/

The second problem is totally different...because it's a different website/repository, which could be down right now. Mongo DB has nothing to do with Proton VPN, and the URL you have for that repository is incorrect; just going to the base of https://repo.mongodb.org/yum/redhat shows that there IS no such path. The how-to guides are at least a year old, and have warnings on them that the information is deprecated, and will be removed. Most up to date:
https://computingforgeeks.com/instal...centos-fedora/

The protonvpn 'error' is only telling you that it's a self-signed certificate.
OKay, so it is a self signed certificate? Why can't I install protonvpn then? I understand it is telling me an error but how DO I FIX IT? I mean do you know how it and you are mad that I am asking the question or are you equally as perplexed as I am.... I am confused and I am not as smart as you maybe.
 
Old 06-06-2023, 09:22 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,638

Rep: Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966
Quote:
Originally Posted by naarter View Post
OKay, so it is a self signed certificate? Why can't I install protonvpn then? I understand it is telling me an error but how DO I FIX IT? I mean do you know how it and you are mad that I am asking the question or are you equally as perplexed as I am.... I am confused and I am not as smart as you maybe.
If you feel like being snotty about things, you can try figuring things out yourself.

How you install it is by following the instructions on the Proton VPN website; step by step. You got three different things to try; again, did you try them? You can disable SSL, but again I am NOT getting an SSL issue today. Did you refresh your repositories? What, exactly, did you type in to try to install things??? Restating "I got this error" tells us nothing new; you've been asked things to help us try to help you, but haven't answered.
 
Old 06-06-2023, 10:43 AM   #8
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
Red face

Quote:
Originally Posted by TB0ne View Post
If you feel like being snotty about things, you can try figuring things out yourself.

How you install it is by following the instructions on the Proton VPN website; step by step. You got three different things to try; again, did you try them? You can disable SSL, but again I am NOT getting an SSL issue today. Did you refresh your repositories? What, exactly, did you type in to try to install things??? Restating "I got this error" tells us nothing new; you've been asked things to help us try to help you, but haven't answered.
Honestly since I am in prison I can't access the website protonvpn so I am going off of third party information. I don't want to disable SSL because it is a security risk. I downloaded the RPM, set it up in fedora by clicking on it and the software manager said it installed. I refreshed the repo's and it gave me the same errors. Ugh, I need to address the curl error and the url or something. IDK.

The time is correct as per date so it is not a date/time issue.

EDIT: I think it has something to do with the RPM, keys and certifications. I Think I have the wrong key or certification?? If so how would I fix that?

Last edited by naarter; 06-06-2023 at 10:48 AM.
 
Old 06-06-2023, 10:54 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,638

Rep: Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966Reputation: 7966
Quote:
Originally Posted by naarter View Post
Honestly since I am in prison I can't access the website protonvpn so I am going off of third party information. I don't want to disable SSL because it is a security risk. I downloaded the RPM, set it up in fedora by clicking on it and the software manager said it installed. I refreshed the repo's and it gave me the same errors. Ugh, I need to address the curl error and the url or something. IDK.

The time is correct as per date so it is not a date/time issue.
Again:
  • You were asked what, exactly, you were typing in and haven't answered.
  • You were asked if you were updating your repositories, but haven't answered.
  • You say you can't access the protonvpn site...but you say you downloaded the RPM? How did you do that, since it's from the ProtonVPN site?? Also, what you posted says you *CAN* access the Protonvpn site, since you're getting a certificate issue. If you couldn't...you'd get a 404, but you're not.
  • You have a step to try as a temporary measure, but won't do it (that is, disabling SSL)
You've got things to try; either try them or not. We can't guess as to what you're doing, and just restating the CURL message tells us nothing new. If you're in prison you're going through firewalls and other proxies, which most likely will cause certificate/MITM issues. Never heard of a prison that lets inmates have their own computers, running OS'es they can't lock down/control.
 
1 members found this post helpful.
Old 06-06-2023, 11:01 AM   #10
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
Arrow

Quote:
Originally Posted by TB0ne View Post
Again:
  • You were asked what, exactly, you were typing in and haven't answered.
  • You were asked if you were updating your repositories, but haven't answered.
  • You say you can't access the protonvpn site...but you say you downloaded the RPM? How did you do that, since it's from the ProtonVPN site?? Also, what you posted says you *CAN* access the Protonvpn site, since you're getting a certificate issue. If you couldn't...you'd get a 404, but you're not.
  • You have a step to try as a temporary measure, but won't do it (that is, disabling SSL)
You've got things to try; either try them or not. We can't guess as to what you're doing, and just restating the CURL message tells us nothing new. If you're in prison you're going through firewalls and other proxies, which most likely will cause certificate/MITM issues. Never heard of a prison that lets inmates have their own computers, running OS'es they can't lock down/control.
"
I typed in what I Had to to install it that is "dnf uand "dnf clean-all" and "dnf update -y" and "dnf check-update". I keep getting the errors. I mean from what I typed do you have any idea what it could be? I downloaded the RPM from an email that was sent to me and this is why I need protonVPN because the internet I have is limited and secured. I shouldn't do the SSL route because it won't fix the problem over all because as with mongodb repo, I think all 3rd party repo's are going to be buggy. WHAT SHOULD I TYPE?I Will keep working on this and other task through out the day and get back to you...

https://discussion.fedoraproject.org...f-update/74735 This also occurred here.
 
Old 06-06-2023, 11:46 AM   #11
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
Code:
[main@fedora ~]$ sudo dnf update --refresh
[sudo] password for main: 
Fedora 38 - x86_64                               66 kB/s |  26 kB     00:00    
Fedora 38 openh264 (From Cisco) - x86_64        4.0 kB/s | 989  B     00:00    
Fedora Modular 38 - x86_64                       84 kB/s |  25 kB     00:00    
Fedora 38 - x86_64 - Updates                     67 kB/s |  23 kB     00:00    
Fedora Modular 38 - x86_64 - Updates            103 kB/s |  24 kB     00:00    
MongoDB Repository                              1.1 kB/s | 391  B     00:00    
Errors during downloading metadata for repository 'mongodb-org-4.4':
  - Status code: 404 for https://repo.mongodb.org/yum/redhat/38/mongodb-org/4.4/x86_64/repodata/repomd.xml (IP: 52.85.61.60)
Error: Failed to download metadata for repo 'mongodb-org-4.4': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
ProtonVPN Fedora Stable repository              0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'protonvpn-fedora-stable':
  - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://repo.protonvpn.com/fedora-38-stable/repodata/repomd.xml [SSL certificate problem: self-signed certificate in certificate chain]
Error: Failed to download metadata for repo 'protonvpn-fedora-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Visual Studio Code                              3.8 kB/s | 1.5 kB     00:00    
Ignoring repositories: mongodb-org-4.4, protonvpn-fedora-stable
Dependencies resolved.
Nothing to do.
Complete!
[main@fedora ~]$ nano /etc/dnf/dnf.conf
[main@fedora ~]$ sudo dnf clean all
50 files removed
[main@fedora ~]$ sudo dnf update
Fedora 38 - x86_64                              659 kB/s |  83 MB     02:08    
Fedora 38 openh264 (From Cisco) - x86_64        2.6 kB/s | 2.5 kB     00:00    
Fedora Modular 38 - x86_64                      586 kB/s | 2.8 MB     00:04    
Fedora 38 - x86_64 - Updates                    724 kB/s |  23 MB     00:32    
Fedora Modular 38 - x86_64 - Updates            533 kB/s | 2.1 MB     00:04    
MongoDB Repository                              1.2 kB/s | 391  B     00:00    
Errors during downloading metadata for repository 'mongodb-org-4.4':
  - Status code: 404 for https://repo.mongodb.org/yum/redhat/38/mongodb-org/4.4/x86_64/repodata/repomd.xml (IP: 52.85.61.103)
Error: Failed to download metadata for repo 'mongodb-org-4.4': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
ProtonVPN Fedora Stable repository              0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'protonvpn-fedora-stable':
  - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://repo.protonvpn.com/fedora-38-stable/repodata/repomd.xml [SSL certificate problem: self-signed certificate in certificate chain]
Error: Failed to download metadata for repo 'protonvpn-fedora-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Visual Studio Code                              778 kB/s |  35 MB     00:46    
Ignoring repositories: mongodb-org-4.4, protonvpn-fedora-stable
Dependencies resolved.
Nothing to do.
Complete!
[main@fedora ~]$ su
Password: 
[root@fedora main]# ls
Desktop  Documents  Downloads  Music  Pictures  Public  Templates  Videos
[root@fedora main]# cd Downloads
[root@fedora Downloads]# ls
b23c0829eed6689a858cc5f28722a5701e8225bdd08ae3ea15588650fbf93de8-2023-06-05-21-36-28.zip
ocs-url-3.1.0-1.fc20.x86_64.rpm
protonvpn-stable-release-1.0.1-2.noarch.rpm
[root@fedora Downloads]# dnf install -y '/home/main/Downloads/protonvpn-stable-release-1.0.1-2.noarch.rpm' 
MongoDB Repository                              1.2 kB/s | 391  B     00:00    
Errors during downloading metadata for repository 'mongodb-org-4.4':
  - Status code: 404 for https://repo.mongodb.org/yum/redhat/38/mongodb-org/4.4/x86_64/repodata/repomd.xml (IP: 52.85.61.78)
Error: Failed to download metadata for repo 'mongodb-org-4.4': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
ProtonVPN Fedora Stable repository              0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'protonvpn-fedora-stable':
  - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://repo.protonvpn.com/fedora-38-stable/repodata/repomd.xml [SSL certificate problem: self-signed certificate in certificate chain]
Error: Failed to download metadata for repo 'protonvpn-fedora-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: mongodb-org-4.4, protonvpn-fedora-stable
Last metadata expiration check: 0:01:52 ago on Tue 06 Jun 2023 12:29:51 PM EDT.
Package protonvpn-stable-release-1.0.1-2.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@fedora Downloads]#
 
Old 06-07-2023, 09:31 AM   #12
naarter
Member
 
Registered: Mar 2022
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: 3
I just uninstalled fedora and installed vanilla os because this is too hard for me. THank you for trying though.

Last edited by michaelk; 06-09-2023 at 05:59 PM.
 
  


Reply

Tags
curl, dnf, fedora, vpn



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing protonvpn from SBo upnort Slackware 4 12-29-2020 04:50 PM
Instructions for installing/setup of protonVPN on Slackware 14.2 - Multilib endless-rain Slackware - Installation 15 08-04-2018 03:53 AM
Instructions/Steps for installing/setup of protonVPN on Slackware 14.2 - Multilib. endless-rain Slackware 1 08-01-2018 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration