Welcome! Log In Create A New Profile

Advanced

Непонятная ошибка при авторизации из скрипта Perl с клиентским сертификатом

March 20, 2018 04:10AM
Странная штука... Пытаюсь обращаться к nginx с клиентским сертификатом из perl 5.24.1, получаю ошибку 500 и непонятные сообщения в логах. А в перле 5.20.2 все нормально. Скрипт и сертификаты те же самые

openssl version
OpenSSL 1.0.1t 3 May 2016


Подскажите, пожалуйста, в чем может быть причина ошибки?
В логах nginx при попытке обращения вижу это:


2018/03/20 11:00:44 [debug] 875#0: post event 0000000001430260
2018/03/20 11:00:44 [debug] 875#0: delete posted event 0000000001430260
2018/03/20 11:00:44 [debug] 875#0: accept on **.**.**.**:8444, ready: 0
2018/03/20 11:00:44 [debug] 875#0: posix_memalign: 0000000001400A40:256 @16
2018/03/20 11:00:44 [debug] 875#0: *156 accept: **.**.**.** fd:5
2018/03/20 11:00:44 [debug] 875#0: posix_memalign: 00000000013D6C50:256 @16
2018/03/20 11:00:44 [debug] 875#0: *156 event timer add: 5: 60000:1521532904197
2018/03/20 11:00:44 [debug] 875#0: *156 reusable connection: 1
2018/03/20 11:00:44 [debug] 875#0: *156 epoll add event: fd:5 op:1 ev:80002001
2018/03/20 11:00:44 [debug] 875#0: *156 post event 0000000001430670
2018/03/20 11:00:44 [debug] 875#0: *156 delete posted event 0000000001430670
2018/03/20 11:00:44 [debug] 875#0: *156 http check ssl handshake
2018/03/20 11:00:44 [debug] 875#0: *156 http recv(): 1
2018/03/20 11:00:44 [debug] 875#0: *156 https ssl handshake: 0x16
2018/03/20 11:00:44 [debug] 875#0: *156 SSL_do_handshake: -1
2018/03/20 11:00:44 [debug] 875#0: *156 SSL_get_error: 2
2018/03/20 11:00:44 [debug] 875#0: *156 reusable connection: 0
2018/03/20 11:00:44 [debug] 875#0: *156 post event 0000000001430670
2018/03/20 11:00:44 [debug] 875#0: *156 delete posted event 0000000001430670
2018/03/20 11:00:44 [debug] 875#0: *156 SSL handshake handler: 0
2018/03/20 11:00:44 [debug] 875#0: *156 SSL_do_handshake: 1
2018/03/20 11:00:44 [debug] 875#0: *156 SSL: TLSv1.2, cipher: "ECDHE-RSA-AES256-SHA SSLv3 Kx=ECDH Au=RSA Enc=AES(256) Mac=SHA1"
2018/03/20 11:00:44 [debug] 875#0: *156 reusable connection: 1
2018/03/20 11:00:44 [debug] 875#0: *156 http wait request handler
2018/03/20 11:00:44 [debug] 875#0: *156 malloc: 0000000001405CF0:1024
2018/03/20 11:00:44 [debug] 875#0: *156 SSL_read: -1
2018/03/20 11:00:44 [debug] 875#0: *156 SSL_get_error: 2
2018/03/20 11:00:44 [debug] 875#0: *156 free: 0000000001405CF0
2018/03/20 11:00:44 [debug] 875#0: *156 post event 0000000001430670
2018/03/20 11:00:44 [debug] 875#0: *156 delete posted event 0000000001430670
2018/03/20 11:00:44 [debug] 875#0: *156 http wait request handler
2018/03/20 11:00:44 [debug] 875#0: *156 malloc: 0000000001405CF0:1024
2018/03/20 11:00:44 [debug] 875#0: *156 SSL_read: 0
2018/03/20 11:00:44 [debug] 875#0: *156 SSL_get_error: 5
2018/03/20 11:00:44 [debug] 875#0: *156 peer shutdown SSL cleanly
2018/03/20 11:00:44 [info] 875#0: *156 client closed connection while waiting for request, client: **.**.**.**, server: **.**.**.**:8444
2018/03/20 11:00:44 [debug] 875#0: *156 close http connection: 5
2018/03/20 11:00:44 [debug] 875#0: *156 SSL_shutdown: 1
2018/03/20 11:00:44 [debug] 875#0: *156 event timer del: 5: 1521532904197
2018/03/20 11:00:44 [debug] 875#0: *156 reusable connection: 0
2018/03/20 11:00:44 [debug] 875#0: *156 free: 0000000001405CF0
2018/03/20 11:00:44 [debug] 875#0: *156 free: 0000000001400A40, unused: 0
2018/03/20 11:00:44 [debug] 875#0: *156 free: 00000000013D6C50, unused: 56
Subject Author Posted

Непонятная ошибка при авторизации из скрипта Perl с клиентским сертификатом

digger March 20, 2018 04:10AM

Re: Непонятная ошибка при авторизации из скрипта Perl с клиентским сертификатом

Maxim Dounin March 20, 2018 08:48AM

Re: Непонятная ошибка при авторизации из скрипта Perl с клиентским сертификатом

digger March 20, 2018 08:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready