Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 14:41:04

Author Topic: Peer cert cannot be verified or peer cert invalid  (Read 20160 times)

0 Members and 1 Guest are viewing this topic.

Offline Hugo

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • KimeraLive - Tailored Clouds
Peer cert cannot be verified or peer cert invalid
« on: 2014-02-21, 12:42:31 »
Hello,

This has happened to me many times, and since this morning that I just can't update or install anything due to the "famous" Peer cert cannot be verified or peer cert invalid error.

I had to disable mratwork.repo just to install APC on one server.

Would you allow me and my cloud hosting company to host your repos or least mirror them for free on a secure reliable server?

I think the community would benefit immensely.
« Last Edit: 2014-02-22, 09:55:09 by asciiker »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Peer cert cannot be verified or peer cert invalid
« Reply #1 on: 2014-02-21, 13:46:36 »
Thanks for you offer.

For create mirror on your server, download:
- https://github.com/mustafaramadhan/kloxo/raw/rpms/mirror-mratwork.sh
- https://github.com/mustafaramadhan/kloxo/raw/rpms/mratwork-mirror.repo
- https://github.com/mustafaramadhan/kloxo/raw/rpms/mirror-centalt.sh

to /home/<user>/<domain>.

And then run:
Code: [Select]
cd /home/<user>/<domain>
mirror-mratwork.sh and mirror-centalt.sh

And then modified content of '/etc/yum.repos.d/mratwork.repo' where 'https://github.com/mustafaramadhan/kloxo/raw/rpms' to '/home/<user>/<domain>/repo'.

You can create cron-task (from panel) for execute both script everyday.

If you don't have a problem to implementing mirror, I will add your mirror in mirror list of mratwork.repo officially.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Hugo

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • KimeraLive - Tailored Clouds
Re: Peer cert cannot be verified or peer cert invalid
« Reply #2 on: 2014-02-21, 14:15:47 »
Hello and thank you for the quick reply.

I will implement the mirror and post back when it's done. Do you need SSL ?   
« Last Edit: 2014-02-22, 09:55:37 by asciiker »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Peer cert cannot be verified or peer cert invalid
« Reply #3 on: 2014-02-21, 14:22:59 »
No need SSL at this moment but thanks.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Hugo

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • KimeraLive - Tailored Clouds
Re: Peer cert cannot be verified or peer cert invalid
« Reply #4 on: 2014-02-21, 18:09:03 »
Hello again,

I've created the mirror, had to create some folders or the scripts wouldn't finish but I think it's all set now, please confirm:

yum clean all && yum repolist  did not show any errors

mratwork.repo:

[mratwork-release-neutral-noarch]
name=MRatWork - release-neutral-noarch
baseurl=http://c3po.kimeralive.com/repo/mratwork/release/neutral/noarch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-release-neutral-noarch-mirrors.txt
enabled=1
gpgcheck=0

[mratwork-release-neutral-arch]
name=MRatWork - release-neutral-arch
baseurl=http://c3po.kimeralive.com/repo/mratwork/release/neutral/$basearch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-release-neutral-$basearch-mirrors.txt
enabled=1
gpgcheck=0

[mratwork-release-version-noarch]
name=MRatWork - release-version-noarch
baseurl=http://c3po.kimeralive.com/repo/mratwork/release/centos$releasever/noarch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-release-centos$releasever-noarch-mirrors.txt
enabled=1
gpgcheck=0

[mratwork-release-version-arch]
name=MRatWork - release-version-arch
baseurl=http://c3po.kimeralive.com/repo/mratwork/release/centos$releasever/$basearch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-release-centos$releasever-$basearch-mirrors.txt
enabled=1
gpgcheck=0

[mratwork-testing-neutral-noarch]
name=MRatWork - testing-neutral-noarch
baseurl=http://c3po.kimeralive.com/repo/mratwork/testing/neutral/noarch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-testing-neutral-noarch-mirrors.txt
enabled=1
gpgcheck=0

[mratwork-testing-neutral-arch]
name=MRatWork - testing-neutral-arch
baseurl=http://c3po.kimeralive.com/repo/mratwork/testing/neutral/$basearch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-testing-neutral-$basearch-mirrors.txt
enabled=1
gpgcheck=0

[mratwork-testing-version-noarch]
name=MRatWork - testing-version-noarch
baseurl=http://c3po.kimeralive.com/repo/mratwork/testing/centos$releasever/noarch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-testing-centos$releasever-noarch-mirrors.txt
enabled=1
gpgcheck=0

[mratwork-testing-version-arch]
name=MRatWork - testing-version-arch
baseurl=http://c3po.kimeralive.com/repo/mratwork/testing/centos$releasever/$basearch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-testing-centos$releasever-$basearch-mirrors.txt
enabled=1
gpgcheck=0

[mratwork-srpms]
name=MRatWork - srpms
baseurl=http://c3po.kimeralive.com/repo/mratwork/SRPMS/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/mratwork-SRPMS-mirrors.txt
enabled=1
gpgcheck=0

# ==================================

[mratwork-centalt]
name=MRatWork - centalt - arch
baseurl=http://centos.alt.ru/repository/centos/$releasever/$basearch/
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/centalt-centos-$releasever-$basearch-mirrors.txt
enabled=1
gpgcheck=0
exclude=openssh* perl* mariadb*

# ==================================

[mratwork-ius]
name=MRatWork - IUS Community Packages for EL $releasever - arch
baseurl=http://dl.iuscommunity.org/pub/ius/stable/Redhat/$releasever/$basearch
#mirrorlist=http://dmirr.iuscommunity.org/mirrorlist/?repo=ius-el$releasever&arch=$basearch
enabled=1
gpgcheck=0
exclude=php52* mysql51*

[mratwork-ius-c5]
name=MRatWork - IUS Community Packages for EL 5 (special) - arch
baseurl=http://dl.iuscommunity.org/pub/ius/archive/CentOS/5/$basearch
#mirrorlist=http://rpms.mratwork.com/repo/mirrors/ius-centos-5-$basearch-mirrors.txt
enabled=1
gpgcheck=0
includepkgs=php52*

# ==================================

[mratwork-epel]
name=MRatWork - Extra Packages for EL $releasever - arch
baseurl=http://download.fedoraproject.org/pub/epel/$releasever/$basearch
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch
enabled=1
gpgcheck=0

# ==================================

# for varnish
[mratwork-varnish-3.0]
name=MRatWork - Varnish 3.0 for EL $releasever - arch
baseurl=http://repo.varnish-cache.org/redhat/varnish-3.0/el$releasever/$basearch
enabled=1
gpgcheck=0

# ==================================

# for hiawatha
[mratwork-centosec]
name=MRatWork - CentOS $releasever Packages from CentOS.EC
baseurl=http://centos$releasever.ecualinux.com/$basearch
enabled=0
gpgcheck=0
exclude=cairo*

# ==================================

# for nginx-stable
[mratwork-nginx]
name=Kloxo-MR - nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=0

# ==================================

# for mariadb
[mratwork-mariadb]
name=Kloxo-MR - mariadb repo
baseurl=http://yum.mariadb.org/5.5/centos$releasever-x86
enabled=0
gpgcheck=0

# ==================================

# for atrpms
[mratwork-atrpms]
name=Kloxo-MR - Fedora Core $releasever -  - ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgcheck=0
enabled=0

# ==================================

[mratwork-litespeed]
name=MRatWork - LiteSpeed Tech Repository for CentOS $releasever - $basearch
baseurl=http://rpms.litespeedtech.com/centos/$releasever/$basearch/
#failovermethod=priority
enabled=1
gpgcheck=0

[mratwork-litespeed-update]
name=MRatWork - LiteSpeed Tech Repository for CentOS $releasever - $basearch
baseurl=http://rpms.litespeedtech.com/centos/$releasever/update/$basearch/
#failovermethod=priority
enabled=1
gpgcheck=0
 

If this is ok, I'll create a cronjob to refresh every 12 hours.
« Last Edit: 2014-02-22, 09:55:54 by asciiker »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Peer cert cannot be verified or peer cert invalid
« Reply #5 on: 2014-02-22, 02:22:00 »
You try run 'yum list kloxomr' and see what's happens.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Hugo

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • KimeraLive - Tailored Clouds
Re: Peer cert cannot be verified or peer cert invalid
« Reply #6 on: 2014-02-22, 09:49:31 »
This is what I get:

[root@DOHB02 ~]# yum list kloxomr
Loaded plugins: fastestmirror, priorities, protectbase, replace
Loading mirror speeds from cached hostfile
 * base: centosu5.centos.org
 * extras: centosb5.centos.org
 * mratwork-epel: mirror.cc.columbia.edu
 * updates: centosb5.centos.org
0 packages excluded due to repository protections
Installed Packages
kloxomr.noarch                                                                 6.5.0.f-2014020301.mr                                                                  @mratwork-release-neutral-noarch

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Peer cert cannot be verified or peer cert invalid
« Reply #7 on: 2014-02-22, 09:59:35 »
No update for 6.5.0 because my target is releasing 6.5.1 to beta step in this month (Feb 2014).

..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Hugo

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • KimeraLive - Tailored Clouds
Re: Peer cert cannot be verified or peer cert invalid
« Reply #8 on: 2014-02-22, 10:09:46 »
So, can this mirror be used?  I didn't understand the question about yum list.

As long as I run those two scripts every day, development users will be able to try the beta right?

« Last Edit: 2014-02-22, 10:11:41 by asciiker »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Peer cert cannot be verified or peer cert invalid
« Reply #9 on: 2014-02-22, 10:18:59 »
VPS of this forum already use Kloxo 6.5.1.a (a=alpha).

You can update to 6.5.1 with:

1. Run 'yum clean all; yum update kloxomr --enablerepo=mratwork-testing-neutral-noarch'
2. Run 'sh /script/cleanup'
3. Adjustment skin to 'simplicity' in 'Appearance'
4. Adjusment web, dns and spam in 'switch program'
5. Adjustment php-type in 'Webserver configure'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Hugo

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • KimeraLive - Tailored Clouds
Re: Peer cert cannot be verified or peer cert invalid
« Reply #10 on: 2014-02-22, 10:29:39 »
VPS of this forum already use Kloxo 6.5.1.a (a=alpha).

You can update to 6.5.1 with:

1. Run 'yum clean all; yum update kloxomr --enablerepo=mratwork-testing-neutral-noarch'
2. Run 'sh /script/cleanup'
3. Adjustment skin to 'simplicity' in 'Appearance'
4. Adjusment web, dns and spam in 'switch program'
5. Adjustment php-type in 'Webserver configure'

Sounds good, I'll try it out on one of the lab servers.

Cron job has been created to update the mirror every 12 hours.

Offline Hugo

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • KimeraLive - Tailored Clouds
Re: Peer cert cannot be verified or peer cert invalid
« Reply #11 on: 2014-02-22, 14:58:59 »
The new skin is far better and the icons.... are brilliant!

Can't wait to use it in production, thanks for all this work, I'll post critical bugs as I find them.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Peer cert cannot be verified or peer cert invalid
« Reply #12 on: 2014-02-22, 15:28:57 »
Post related to 6.5.1 (until 6.5.1.c - candidate; before 6.5.1.f - final) in http://forum.mratwork.com/kloxo-mr-development/
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Peer cert cannot be verified or peer cert invalid
« Reply #13 on: 2014-02-22, 15:32:30 »
Remember to install php53s with 'sh /script/php53s-install' and then 'sh /script/restart' to make Kloxo-MR 6.5.1 under php 5.3 environment.

Kloxo-MR 6.5.0 still running under php 5.2 (no plan to make running under php 5.3).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Hugo

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • KimeraLive - Tailored Clouds
Re: Peer cert cannot be verified or peer cert invalid
« Reply #14 on: 2014-02-23, 12:47:20 »
Thanks for you offer.

For create mirror on your server, download:
- https://github.com/mustafaramadhan/kloxo/raw/rpms/mirror-mratwork.sh
- https://github.com/mustafaramadhan/kloxo/raw/rpms/mratwork-mirror.repo
- https://github.com/mustafaramadhan/kloxo/raw/rpms/mirror-centalt.sh

to /home/<user>/<domain>.

And then run:
Code: [Select]
cd /home/<user>/<domain>
mirror-mratwork.sh and mirror-centalt.sh

And then modified content of '/etc/yum.repos.d/mratwork.repo' where 'https://github.com/mustafaramadhan/kloxo/raw/rpms' to '/home/<user>/<domain>/repo'.

You can create cron-task (from panel) for execute both script everyday.

If you don't have a problem to implementing mirror, I will add your mirror in mirror list of mratwork.repo officially.


Hello,
I had an issue today while updating a server with CentOS6 64 bit.  I believe the mirror those scripts create is incomplete, it's missing a lot of 64 bit packages. I confirmed this and had to install mod_ruid2 via rpm directly. 
32bit RPMs seem to be all there.

can you verify this ?

Thank you
« Last Edit: 2014-02-23, 12:49:01 by asciiker »

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.032 seconds with 22 queries.

web stats analysis