MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: Hugo on 2014-02-21, 12:42:31

Title: Peer cert cannot be verified or peer cert invalid
Post by: Hugo 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.
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: MRatWork 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.
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo 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 ?   
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: MRatWork on 2014-02-21, 14:22:59
No need SSL at this moment but thanks.
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo 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.
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: MRatWork on 2014-02-22, 02:22:00
You try run 'yum list kloxomr' and see what's happens.
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo 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
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: MRatWork 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).

Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo 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?

Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: MRatWork 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'
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo 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.
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo 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.
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: MRatWork 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/
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: MRatWork 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).
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo 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
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: MRatWork on 2014-02-23, 12:52:51
Maybe too much repo update by me for Kloxo-MR 6.5.1.b. Try running mirror script again from ssh.
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo on 2014-02-23, 13:11:37
Just ran both scripts.  Everything was skipped so nothing new.

The only lines regarding CentOS 6 x86_64 are:

[centalt-centos-6-x86_64: 1     of 4     ] Skipping existing apc-panel-3.1.14-6.el6.noarch.rpm
[centalt-centos-6-x86_64: 2     of 4     ] Skipping existing centalt-release-6-1.noarch.rpm
[centalt-centos-6-x86_64: 3     of 4     ] Skipping existing cfv-1.18.3-5.el6.noarch.rpm
[centalt-centos-6-x86_64: 4     of 4     ] Skipping existing libssh2-docs-1.4.1-2.el6.noarch.rpm
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo on 2014-02-23, 13:13:47
Wait... I found the missing packages:

Removing obsolete mod_fcgid-2.3.7-2.mr.el6.x86_64.rpm
Removing obsolete libdomainkeys-toaster-0.68-1.3.6.mr.el6.x86_64.rpm
Removing obsolete clamav-toaster-0.97.8-1.4.5.mr.el6.x86_64.rpm
Removing obsolete pure-ftpd-1.0.36-5.mr.el6.x86_64.rpm
Removing obsolete mod24_authnz_ldap-2.4.6-3.mr.el6.x86_64.rpm
Removing obsolete libsrs2-toaster-1.0.18-1.3.6.mr.el6.x86_64.rpm
Removing obsolete daemontools-toaster-0.76-1.3.6.mr.el6.i686.rpm
Removing obsolete mod_suphp-0.7.1-3.mr.el6.x86_64.rpm
Removing obsolete apr-util-nss-1.5.2-1.mr.el6.i686.rpm
Removing obsolete php53s-mysql-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete apr-util-nss-1.5.2-1.mr.el6.x86_64.rpm
Removing obsolete spamassassin-toaster-3.3.2-1.4.4.mr.el5.x86_64.rpm
Removing obsolete apr-util-mysql-1.5.2-1.mr.el6.i686.rpm
Removing obsolete mod_ruid2-0.9.7-3.mr.el6.x86_64.rpm
Removing obsolete httpd24-manual-2.4.6-3.mr.el6.x86_64.rpm
Removing obsolete qmail-toaster-1.03-1.3.27.mr.el6.x86_64.rpm
Removing obsolete spamdyke-utils-4.3.1-3.mr.el6.x86_64.rpm
Removing obsolete apr-1.4.8-1.mr.el6.i686.rpm
Removing obsolete qmail-pop3d-toaster-1.03-1.3.27.mr.el6.x86_64.rpm
Removing obsolete php53s-dba-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete dovecot-mysql-2.1.15-1.mr.el6.x86_64.rpm
Removing obsolete qmail-toaster-1.03-1.3.31.mr.el6.x86_64.rpm
Removing obsolete php53s-devel-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete autorespond-toaster-2.0.5-1.4.0.mr.el6.x86_64.rpm
Removing obsolete php53s-soap-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete apr-util-sqlite-1.5.2-1.mr.el6.i686.rpm
Removing obsolete php53s-cli-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete mod_ruid2-0.9.8-1.mr.el6.x86_64.rpm
Removing obsolete daemontools-toaster-0.76-1.3.6.mr.el6.x86_64.rpm
Removing obsolete apr-util-ldap-1.5.2-1.mr.el6.x86_64.rpm
Removing obsolete qmail-pop3d-toaster-1.03-1.3.35.mr.el6.x86_64.rpm
Removing obsolete php53s-common-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete php53s-snmp-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete courier-authlib-toaster-0.59.2-1.3.12.mr.el6.x86_64.rpm
Removing obsolete php53u-zend-guard-5.5.0-5.mr.el6.x86_64.rpm
Removing obsolete mod_security-2.7.5-1.mr.el6.x86_64.rpm
Removing obsolete hiawatha-9.3-2.mr.el6.i686.rpm
Removing obsolete hiawatha-9.3.1-1.mr.el6.i386.rpm
Removing obsolete ezmlm-toaster-0.53.324-1.3.8.mr.el6.i686.rpm
Removing obsolete dovecot-pgsql-2.1.15-1.mr.el6.i686.rpm
Removing obsolete hiawatha-9.3-2.mr.el6.x86_64.rpm
Removing obsolete nginx-special-1.3.11-2.mr.el6.x86_64.rpm
Removing obsolete qmail-toaster-1.03-1.3.35.mr.el6.x86_64.rpm
Removing obsolete apr-1.4.8-1.mr.el6.x86_64.rpm
Removing obsolete maildrop-toaster-2.0.3-1.3.8.mr.el6.x86_64.rpm
Removing obsolete apr-util-sqlite-1.5.2-1.mr.el6.x86_64.rpm
Removing obsolete php53s-imap-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete mod24_lua-2.4.6-3.mr.el6.x86_64.rpm
Removing obsolete apr-util-odbc-1.5.2-1.mr.el6.i686.rpm
Removing obsolete dovecot-2.1.15-1.mr.el6.x86_64.rpm
Removing obsolete hiawatha-9.2-7.2.mr.el6.i686.rpm
Removing obsolete clamav-toaster-0.97.8-1.4.5.mr.el6.i686.rpm
Removing obsolete php53s-gd-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete trafficserver-devel-4.0.1-1.mr.el6.x86_64.rpm
Removing obsolete php53s-litespeed-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete php53s-mcrypt-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete vpopmail-toaster-5.4.33-1.4.3.mr.el6.x86_64.rpm
Removing obsolete httpd24-2.4.6-3.mr.el6.x86_64.rpm
Removing obsolete hiawatha-9.3-1.mr.el6.i686.rpm
Removing obsolete apr-devel-1.4.8-1.mr.el6.i686.rpm
Removing obsolete autorespond-toaster-2.0.5-1.4.0.mr.el6.i686.rpm
Removing obsolete nsd-3.2.17-1.mr.el6.x86_64.rpm
Removing obsolete php53s-tidy-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete dovecot-mysql-2.1.15-1.mr.el6.i686.rpm
Removing obsolete php53s-xml-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete php52s-5.2.17-11.mr.el6.x86_64.rpm
Removing obsolete php53s-intl-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete hiawatha-9.3.1-1.mr.el6.x86_64.rpm
Removing obsolete httpd24-tools-2.4.6-3.mr.el6.x86_64.rpm
Removing obsolete spamdyke-4.3.1-3.mr.el6.x86_64.rpm
Removing obsolete trafficserver-devel-3.2.5-4.mr.el6.x86_64.rpm
Removing obsolete libxml2-python-2.9.1-1.mr.el6.x86_64.rpm
Removing obsolete libxml2-devel-2.9.1-1.mr.el6.x86_64.rpm
Removing obsolete mod24_ssl-2.4.6-3.mr.el6.x86_64.rpm
Removing obsolete simscan-toaster-1.4.0-1.4.1.mr.el6.x86_64.rpm
Removing obsolete djbdns-1.05-17.3.mr.el6.i686.rpm
Removing obsolete clamav-toaster-0.98.1-1.4.7.mr.el6.i386.rpm
Removing obsolete ezmlm-toaster-0.53.324-1.3.8.mr.el6.x86_64.rpm
Removing obsolete apr-util-devel-1.5.2-1.mr.el6.x86_64.rpm
Removing obsolete mod_fastcgi-2.4.6-5.mr.el6.x86_64.rpm
Removing obsolete mod_rpaf-0.6-4.mr.el6.x86_64.rpm
Removing obsolete php53s-pdo-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete apr-util-openssl-1.5.2-1.mr.el6.x86_64.rpm
Removing obsolete php53s-xmlrpc-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete apr-util-1.5.2-1.mr.el6.x86_64.rpm
Removing obsolete mod_suphp-0.7.2-1.mr.el5.x86_64.rpm
Removing obsolete hiawatha-9.2-7.2.mr.el6.x86_64.rpm
Removing obsolete jailkit-2.17-1.mr.el6.x86_64.rpm
Removing obsolete ripmime-toaster-1.4.0.6-1.3.7.mr.el6.x86_64.rpm
Removing obsolete php53s-recode-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete apr-util-dbm-1.5.2-1.mr.el6.i686.rpm
Removing obsolete maradns-2.0.07b-1.mr.el6.x86_64.rpm
Removing obsolete php53s-mbstring-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete libxml2-2.9.1-1.mr.el6.x86_64.rpm
Removing obsolete apr-util-openssl-1.5.2-1.mr.el6.i686.rpm
Removing obsolete php53s-enchant-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete apr-util-dbm-1.5.2-1.mr.el6.x86_64.rpm
Removing obsolete hiawatha-9.3-1.mr.el6.x86_64.rpm
Removing obsolete clamav-toaster-0.98.1-1.4.7.mr.el6.x86_64.rpm
Removing obsolete courier-imap-toaster-4.1.2-1.3.14.mr.el6.i686.rpm
Removing obsolete maradns-2.0.07d-1.mr.el6.x86_64.rpm
Removing obsolete php53s-embedded-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete mod_security-2.7.1-2.mr.el6.x86_64.rpm
Removing obsolete apr-util-ldap-1.5.2-1.mr.el6.i686.rpm
Removing obsolete apr-util-freetds-1.5.2-1.mr.el6.i686.rpm
Removing obsolete webalizer-2.23_05-4.mr.el6.x86_64.rpm
Removing obsolete dovecot-pigeonhole-2.1.15-1.mr.el6.i686.rpm
Removing obsolete php53s-milter-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete php53s-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete mod24_socache_dc-2.4.6-3.mr.el6.x86_64.rpm
Removing obsolete qmail-toaster-1.03-1.3.29.mr.el6.x86_64.rpm
Removing obsolete djbdns-1.05-17.3.mr.el6.x86_64.rpm
Removing obsolete trafficserver-3.2.5-4.mr.el6.x86_64.rpm
Removing obsolete courier-authlib-toaster-0.59.2-1.3.12.mr.el6.i686.rpm
Removing obsolete apr-util-pgsql-1.5.2-1.mr.el6.x86_64.rpm
Removing obsolete webalizer-2.23_05-5.mr.el6.x86_64.rpm
Removing obsolete apr-util-mysql-1.5.2-1.mr.el6.x86_64.rpm
Removing obsolete courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64.rpm
Removing obsolete apr-util-odbc-1.5.2-1.mr.el6.x86_64.rpm
Removing obsolete php53s-fpm-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete php52s-5.2.17-10.mr.el6.x86_64.rpm
Removing obsolete apr-util-1.5.2-1.mr.el6.i686.rpm
Removing obsolete php53s-pspell-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete php53s-process-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete mod24_proxy_html-2.4.6-3.mr.el6.x86_64.rpm
Removing obsolete php53s-zts-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete qmail-pop3d-toaster-1.03-1.3.31.mr.el6.x86_64.rpm
Removing obsolete dovecot-pgsql-2.1.15-1.mr.el6.x86_64.rpm
Removing obsolete apr-util-freetds-1.5.2-1.mr.el6.x86_64.rpm
Removing obsolete php53s-odbc-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete mod_evasive-1.10.1-8.mr.el6.x86_64.rpm
Removing obsolete php53s-ldap-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete apr-util-pgsql-1.5.2-1.mr.el6.i686.rpm
Removing obsolete trafficserver-4.0.1-1.mr.el6.x86_64.rpm
Removing obsolete dovecot-pigeonhole-2.1.15-1.mr.el6.x86_64.rpm
Removing obsolete apr-util-devel-1.5.2-1.mr.el6.i686.rpm
Removing obsolete qmail-toaster-1.03-1.3.30.mr.el6.x86_64.rpm
Removing obsolete qmail-pop3d-toaster-1.03-1.3.30.mr.el6.x86_64.rpm
Removing obsolete libxml2-static-2.9.1-1.mr.el6.x86_64.rpm
Removing obsolete php53s-pgsql-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete php53s-mssql-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete ucspi-tcp-toaster-0.88-1.3.10.mr.el6.x86_64.rpm
Removing obsolete php53s-bcmath-5.3.28-2.mr.el6.x86_64.rpm
Removing obsolete httpd24-devel-2.4.6-3.mr.el6.x86_64.rpm
Removing obsolete qmail-pop3d-toaster-1.03-1.3.29.mr.el6.x86_64.rpm
Removing obsolete apr-devel-1.4.8-1.mr.el6.x86_64.rpm
Removing obsolete dovecot-2.1.15-1.mr.el6.i686.rpm

Looks like it's deleting them...
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: MRatWork on 2014-02-23, 13:25:44
Ok, try delete content of /repo/mratwork and then run again mirror script. Inform if you found something wrong.
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo on 2014-02-24, 00:57:08
still not working properly:

on the directory: /home/c3po/c3po.kimeralive.com/repo/mratwork/release/centos6/x86_64/repodata

All I have is:

0716873dadfbdf0f685af384a2515a69e61c70ad934803296e7384bc1bbd3a0b-primary.sqlite.bz2  786d853547d3223f9c56403f53dc802f946a41ca7017b477af4c34ce21631cb2-other.sqlite.bz2      repomd.xml
1d3e9ce799a01978b4fc99c0798b2ca6404854db1b037f82cbfd2a3b6dcf7e4f-other.xml.gz        af322dea256c14902cbdc8a13a36bf128c15d429d7b6cf8d9e37f0add5fdd3dc-filelists.sqlite.bz2
354cdfc7b1575e47ad290776be06c85bccc2504242c7b51ed285e3aae2f47b2d-filelists.xml.gz    b41298eea4b2de0f1a45b3fe1e1baf76b860d98558eb32f60214a7a4fbcdbd86-primary.xml.gz


Errors or warnings while running script:  mirror-mratwork.sh
"could not find valid repo at: /home/c3po/c3po.kimeralive.com/repo/mratwork/release/centos6/x86_64"

and this was not the only directory where it happens.


On another note, the directory structure should be created by the script.  I get errors if I just delete the mratwork main folder until I create the missing folders manually.

Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo on 2014-03-02, 10:19:21
Hello,

Just so this mirror doesn't go to waste.

I've cloned directly from github and it is what I'm using in production:


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

just save as mratwork.repo and place in /etc/yum.repos.d/ 

Note: at this time, mratwork-release updates will override this repo. 
Note2: Fully working for CentOS 32 and 64 bit.  If you're using a stable version of Kloxo, make sure to change "Enabled=1" to "Enabled=0" in all the testing-mratwork parts.

Mustafa, I couldn't get the mirror scripts to work still.  Ok if I continue to pull directly from github?
It would be great if you could include this mirror in the 6.5.1 release.
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: MRatWork on 2014-03-02, 10:25:59
rpms.mratwork.com just mirror from github. So, github is as primary repo.
Title: Re: Peer cert cannot be verified or peer cert invalid
Post by: Hugo on 2014-03-02, 10:28:58
Ok, so I gather I can use git clone with a cron job.