Processing site.ru with alternative names: www.site.ru
+ Checking expire date of existing cert...
+ Valid till Jun 1 06:17:05 2025 GMT (Longer than 20 days). Ignoring because renew was forced!
+ Signing domains...
+ Generating private key...
+ Generating signing request...
+ Requesting new certificate order from CA...
+ Received 2 authorizations URLs from the CA
+ Handling authorization for site.ru
+ Found valid authorization for site.ru
+ Handling authorization for www.site.ru
+ Found valid authorization for www.site.ru
+ 0 pending challenge(s)
+ Requesting certificate...
-: No such file or directory
139990387197840:error:02001002:system library:fopen:No such file or directory:bss_file.c:402:fopen('-','r')
139990387197840:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:404:
site.ru www.site.ru
site.ru www.site.ru
site2.ru
Либо потыкайтесь в menu.sh , который автоматом запускается при входе под рутом.
sudo yum install epel-release
sudo yum install openssl11
nano /home/bitrix/dehydrated/dehydrated
OPENSSL="/usr/bin/openssl11"
csr64="$( <<<"${csr}" "${OPENSSL}" req -in - -config "${OPENSSL_CNF}" -outform DER | urlbase64)"
tmpcsr="$(mktemp)"
echo "${csr}" > "${tmpcsr}"
csr64="$("${OPENSSL}" req -in "${tmpcsr}" -config "${OPENSSL_CNF}" -outform DER | urlbase64)"
rm -f "${tmpcsr}"
/home/bitrix/dehydrated/dehydrated -c --force
Loaded plugins: etckeeper, fastestmirror, merge-conf
Loading mirror speeds from cached hostfile
* remi: mirror.docker.ru
* remi-php81: mirror.docker.ru
* remi-safe: mirror.docker.ru
http://mirror.selectel.ru/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
http://mirror.selectel.ru/epel/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.selectel.ru/centos/7/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.selectel.ru/centos/7/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
Resolving Dependencies
--> Running transaction check
---> Package openssl11.x86_64 1:1.1.1k-7.el7 will be installed
--> Processing Dependency: openssl11-libs(x86-64) = 1:1.1.1k-7.el7 for package: 1:openssl11-1.1.1k-7.el7.x86_64
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: 1:openssl11-1.1.1k-7.el7.x86_64
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_1)(64bit) for package: 1:openssl11-1.1.1k-7.el7.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: 1:openssl11-1.1.1k-7.el7.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_1)(64bit) for package: 1:openssl11-1.1.1k-7.el7.x86_64
--> Processing Dependency: libcrypto.so.1.1()(64bit) for package: 1:openssl11-1.1.1k-7.el7.x86_64
--> Processing Dependency: libssl.so.1.1()(64bit) for package: 1:openssl11-1.1.1k-7.el7.x86_64
--> Running transaction check
---> Package openssl11-libs.x86_64 1:1.1.1k-7.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
openssl11 x86_64 1:1.1.1k-7.el7 epel 694 k
Installing for dependencies:
openssl11-libs x86_64 1:1.1.1k-7.el7 epel 1.5 M
Transaction Summary
=============================================================================================================================================================================================================================================
Install 1 Package (+1 Dependent package)
Total download size: 2.1 M
Installed size: 4.6 M
Is this ok [y/d/N]: y
Downloading packages:
openssl11-1.1.1k-7.el7.x86_64. FAILED
http://mirror.selectel.ru/epel/7/x86_64/Packages/o/openssl11-1.1.1k-7.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
openssl11-libs-1.1.1k-7.el7.x8 FAILED
http://mirror.selectel.ru/epel/7/x86_64/Packages/o/openssl11-libs-1.1.1k-7.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
Error downloading packages:
1:openssl11-1.1.1k-7.el7.x86_64: [Errno 256] No more mirrors to try.
1:openssl11-libs-1.1.1k-7.el7.x86_64: [Errno 256] No more mirrors to try.
cp -v /etc/yum.repos.d/CentOS-Base.repo{,-backup}
sed -i 's/mirror.centos.org/vault.centos.org/g' /etc/yum.repos.d/CentOS-Base.repo
sed -i 's/mirrorlist=/\#mirrorlist=/g' /etc/yum.repos.d/CentOS-Base.repo
sed -i 's/\#baseurl=/baseurl=/g' /etc/yum.repos.d/CentOS-Base.repo
yum clean all && yum makecache
yum update
[root@dev ~]# cp -v /etc/yum.repos.d/CentOS-Base.repo{,-backup}
‘/etc/yum.repos.d/CentOS-Base.repo’ -> ‘/etc/yum.repos.d/CentOS-Base.repo-backup’
[root@dev ~]# sed -i 's/mirror.centos.org/vault.centos.org/g' /etc/yum.repos.d/CentOS-Base.repo
[root@dev ~]# sed -i 's/mirrorlist=/\#mirrorlist=/g' /etc/yum.repos.d/CentOS-Base.repo
[root@dev ~]# sed -i 's/\#baseurl=/baseurl=/g' /etc/yum.repos.d/CentOS-Base.repo
[root@dev ~]# yum clean all && yum makecache
Loaded plugins: etckeeper, fastestmirror, merge-conf
Cleaning repos: base bitrix epel extras prel-release-noarch ps-57-release-x86_64 ps-80-release-x86_64 pxb-24-release-x86_64 remi remi-php81 remi-safe selectel-openstack updates
Cleaning up list of fastest mirrors
Other repos take up 15 M of disk space (use --verbose for details)
Loaded plugins: etckeeper, fastestmirror, merge-conf
Determining fastest mirrors
* remi: mirror.docker.ru
* remi-php81: mirror.docker.ru
* remi-safe: mirror.docker.ru
http://mirror.selectel.ru/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
One of the configured repositories failed (CentOS-7 base),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=base ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable base
or
subscription-manager repos --disable=base
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=base.skip_if_unavailable=true
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://mirror.selectel.ru/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
[base]
name=CentOS-7 base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[epel]
name=epel
baseurl=http://mirror.selectel.ru/epel/7/x86_64
gpgcheck=0