Перейти к содержимому


Фотография

SSL-сертификат для сайта


  • Авторизуйтесь для ответа в теме
Сообщений в теме: 2

#1 M0NstR

M0NstR

    Новичок

  • Пользователь
  • Pip
  • 3 сообщений

Отправлено 07 Ноябрь 2017 - 15:08

Доброго времени суток! Я столкнулся с такой проблемой, как выдача сертификата для своего сайта через letsencrypt. Всё установлено правильно но... консоль мне пишет ошибку. Что мне нужно сделать, чтобы такой ошибки больше не возникало и мне выдался этот сертификат. Подскажите..

 m0nstr@vdsnonstop:/etc/apache2/sites-available$ sudo letsencrypt --apache -d nonstop-gaming.ru -d www.nonstop-gaming.ru --staging
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for nonstop-gaming.ru
tls-sni-01 challenge for www.nonstop-gaming.ru
/usr/lib/python2.7/dist-packages/OpenSSL/rand.py:58: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
  result_code = _lib.RAND_bytes(result_buffer, num_bytes)
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. nonstop-gaming.ru (tls-sni-01): urn:acme:error:malformed :: The request message was malformed :: Server only speaks HTTP, not TLS, www.nonstop-gaming.ru (tls-sni-01): urn:acme:error:malformed :: The request message was malformed :: Server only speaks HTTP, not TLS

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: nonstop-gaming.ru
   Type:   malformed
   Detail: Server only speaks HTTP, not TLS

   Domain: www.nonstop-gaming.ru
   Type:   malformed
   Detail: Server only speaks HTTP, not TLS

   To fix these errors, please make sure that you did not provide any
   invalid information to the client, and try running Certbot again.



#2 ykpon

ykpon

    Постоянный пользователь

  • Пользователь
  • PipPipPipPipPip
  • 4 027 сообщений

Отправлено 07 Ноябрь 2017 - 15:46

Что гугл говорит по запросу "UserWarning: implicit cast from"?



#3 M0NstR

M0NstR

    Новичок

  • Пользователь
  • Pip
  • 3 сообщений

Отправлено 07 Ноябрь 2017 - 15:59

Много чего непонятного мне, однако мне подсказали ссылку https://www.linuxque...ypt-4175597512/ на решение этой проблемы, но я не понимаю, где тут порядок действий, как всё это исправить..
 


Сообщение отредактировал M0NstR: 07 Ноябрь 2017 - 16:05



Количество пользователей, читающих эту тему: 0

0 пользователей, 0 гостей, 0 анонимных