<---- template headericclude ----->
Certificates in yum
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2005
    Posts
    286
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Certificates in yum

    My organization just moved to using a zscaler proxy system. Basically, I have to use a .pac file in Firefox to get onto the proxy, which directs me to a series of two Flash pages, one to input my username, one for the password.

    After reading through the .pac file, I was able to get some command-line things to work by specifying the proxy given at the end. However, this server uses an SSL certificate that is not emitted by an authority, but rather directly by our organization. In Firefox, I had to import this certificate to enable https:// browsing.

    Is there any way to "import" this certificate so that yum can use it? Because yum freezes with the error:

    Code:
    Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=fedora-13&arch=x86_64 error was
    14: Peer cert cannot be verified or peer cert invalid
    Thanks for any help!

  2. #2
    Join Date
    Oct 2008
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Certificates in yum

    I wonder if instead of using mirrors you could use the baseurl, which is non-ssl. Try uncommenting the #baseurl line in /etc/yum.repos.d/fedora.repo and commenting out the 'mirrorlist' line.
    Streamripper Simple Frontend (SSF) - rip SHOUTcast streams in 3 easy steps.
    Follow me on Twitter

  3. #3
    Join Date
    Jun 2005
    Posts
    286
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Certificates in yum

    That seems to be working. Thanks for the idea!

    (Although I still wonder if there is an answer to the original question...)

  4. #4
    Join Date
    Oct 2008
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Certificates in yum

    Yeah, I forgot to mention that it only seems like a temporary workaround, your original issue is still in place. This could very well be a bug that yum doesn't honor self-signed certs.
    Streamripper Simple Frontend (SSF) - rip SHOUTcast streams in 3 easy steps.
    Follow me on Twitter

  5. #5
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,908
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: Certificates in yum

    See 'man yum.conf'
    sslcacert Path to the directory containing the databases of the certificate authorities yum should
    use to verify SSL certificates. Defaults to none - uses system default

    sslverify Boolean - should yum verify SSL certificates/hosts at all. Defaults to True

    sslclientcert Path to the SSL client certificate yum should use to connect to repos/remote sites
    Defaults to none.

    proxy URL to the proxy server that yum should use.

    proxy_username username to use for proxy

    proxy_password password for this proxy

  6. #6
    Join Date
    Jun 2005
    Posts
    286
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Certificates in yum

    Great. I was now able to use the mirrors. Thanks a lot!

  7. #7
    Join Date
    Feb 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Certificates in yum

    hello

    how did you solved the problem

  8. #8
    Join Date
    Aug 2011
    Location
    New Zealand
    Age
    37
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Certificates in yum

    Getting same problem with f16 now. some information would be nice

  9. #9
    Join Date
    Nov 2011
    Location
    Bogota DC, CO
    Age
    49
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post Re: Certificates in yum

    Quote Originally Posted by shade0o
    Getting same problem with f16 now. some information would be nice
    They suggested clearly (man yum.conf):
    Edit your
    Code:
    /etc/yum.conf
    file, adding
    Code:
    sslverify=False
    This is a temporary workaround. Don't forget to remove, comment or switch to
    Code:
    True
    that line after a while as this step voids proper server checking and is a security risk.

Similar Threads

  1. Wildcard SSL certificates
    By sentry in forum Servers & Networking
    Replies: 1
    Last Post: 10th September 2009, 04:54 AM
  2. Certificates
    By OainjaQakanj in forum Security and Privacy
    Replies: 1
    Last Post: 17th April 2007, 08:46 AM
  3. FC4 and SSL Certificates
    By D@ Mick in forum Servers & Networking
    Replies: 1
    Last Post: 7th October 2005, 02:55 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]