I Dobryy den’!!! problema !!! Nedavno ustanovlennyy CentOS 8 ne ustanavlivayet sertifikaty. Mne nuzhny sertifikaty dlya moyego pochtovogo servera. Konfiguratsiya Apache po umolchaniyu
config mail.tehcxweb.xyz.conf:
\ <VirtualHost *: 80>
\ ServerName mail.tehcxweb.xyz
\ DocumentRoot / var / www / html /
\ </ VirtualHost>
YA ispol’zuyu komandu dlya zapuska:
sudo firewall-cmd --zone = public --permanent --add-service = {http, https, prosmotr smtp, smtps, imap, imaps}
sudo systemctl perezagruzit’ firewald
sudo dnf ustanovit’ wget
sudo wget https://dl.eff.org/certbot-auto
sudo mv certbot-auto / usr / local / bin / certbot
sudo chown root / usr / local / bin / certbot
sudo chmod 0755 / usr / local / bin / certbot
sudo / usr / local / bin / certbot --apache --agree-tos --redirect --hsts --staple-ocsp --email tav@tehcxweb.xyz -d mail.tehcxweb.xyz
YA poluchayu oshibku:
Complete!
Sozdaniye virtual’noy sredy …
Ustanovka paketov Python …
Ustanovka proshla uspeshno.
Sokhraneniye zhurnala otladki v /var/log/letsencrypt/letsencrypt.log
Oshibka zapuska apachectl configtest.
AH00526: Sintaksicheskaya oshibka v stroke 85 fayla /etc/httpd/conf.d/ssl.conf:
SSLCertificateFile: fayl ‘/etc/pki/tls/certs/localhost.crt’ ne sushchestvuyet ili yavlyayetsya pustym
Plagin apache ne rabotayet; mogut byt’ problemy s vashey sushchestvuyushchey konfiguratsiyey.
Oshibka: MisconfigurationError («Oshibka zapuska apachectl configtest. \ N \ nAH00526: Sintaksicheskaya oshibka v stroke 85 fayla /etc/httpd/conf.d/ssl.conf:\nSSLCertificateFile: fayl '/ etc / pki / tls / certs / localhost. crt 'ne sushchestvuyet ili yavlyayetsya pustym \ n ",)
i Apache blagopoluchno umirayet
v rezul’tate ni Apache, ni sertifikat
chto mne delat’?
Развернуть
1665/5000
Good afternoon!!! problem !!! The recently installed CentOS 8 does not install certificates. I need certificates for my mail server. Apache default configuration
config mail.tehcxweb.xyz.conf:
\ <VirtualHost *: 80>
\ ServerName mail.tehcxweb.xyz
\ DocumentRoot / var / www / html /
\ </ VirtualHost>
I use the command to run:
sudo firewall-cmd --zone = public --permanent --add-service = {http, https, view smtp, smtps, imap, imaps}
sudo systemctl reload firewald
sudo dnf install wget
sudo wget https://dl.eff.org/certbot-auto
sudo mv certbot-auto / usr / local / bin / certbot
sudo chown root / usr / local / bin / certbot
sudo chmod 0755 / usr / local / bin / certbot
after starting the installation of certificates
Apache dies safely
as a result neither Apache nor certificate
what should I do?