Apache 401 несанкционированная ошибка во время Acme Challenge Давайте зашифруемApache

Ответить
Anonymous
 Apache 401 несанкционированная ошибка во время Acme Challenge Давайте зашифруем

Сообщение Anonymous »

потратил пару часов, копая в Google и устранение неполадок. Кажется, я не могу понять, что происходит. Что касается задней части, все работает нормально. Конфигурация сайта изменяется. Временный файл со строкой изготовлен и может быть доступен другим компьютером, используя временный URL. Browserling.com получает подсказку аутентификации сервера при просмотре какого -либо HTTP URL -адреса для сайта, но ни один из моих устройств не получает эту подсказку в локальной сети или за пределами локальной сети. Letsdebug.net получает ошибку 401. Я думаю, что это могло вызвать «небольшую проблему» где -то. Мой сайт конфигурация супер базовая. Нет перенаправления. У HTTP и HTTP есть следующее: < /p>


# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com

ServerAdmin webmaster@localhost
DocumentRoot /media...
DirectoryIndex index.html index.php

ServerName example.com
ServerAlias www.example.com


#Options FollowSymlinks
#AllowOverride None
Require all granted
Options Indexes FollowSymLinks MultiViews
AllowOverride All
allow from all


# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf

Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem



# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com

ServerAdmin webmaster@localhost
DocumentRoot /media...
DirectoryIndex index.html index.php

ServerName example.com
ServerAlias www.example.com


Options Indexes FollowSymlinks MultiViews
AllowOverride All
Allow from all
Require all granted


# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf

#RewriteEngine on
#RewriteCond %{SERVER_NAME} =www.example.com [OR]
#RewriteCond %{SERVER_NAME} =example.com
#RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]


< /code>
Как я могу отследить, что вызывает ошибку 401? Если бы я был в IIS, я бы подумал, что это была файловая вещь. Это возможно здесь? Я также читал, что может быть возможность для IP -блоков, но я не добавил ничего, чтобы сделать это, если только на сервере Ubuntu нет новых вещей, о которых я не знаю.

Подробнее здесь: https://stackoverflow.com/questions/795 ... ts-encrypt
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Apache»