ssl - openssl connection on a self-cerficated server -
i'm performing command in order check whether i'm able create ssl connection:
openssl s_client -connect private-server:5000
private-server
server i've set self-generated certificate.
the output is:
connected(00000003) 140180300502672:error:140790e5:ssl routines:ssl23_write:ssl handshake failure:s23_lib.c:177: --- no peer certificate available --- no client certificate ca names sent --- ssl handshake has read 0 bytes , written 308 bytes --- new, (none), cipher (none) secure renegotiation not supported compression: none expansion: none no alpn negotiated ssl-session: protocol : tlsv1.2 cipher : 0000 session-id: session-id-ctx: master-key: key-arg : none psk identity: none psk identity hint: none srp username: none start time: 1467812448 timeout : 300 (sec) verify return code: 0 (ok) ---
what need connection right? thanks.
ssl handshake has read 0 bytes , written 308 bytes
the client has started ssl handshake server has closed connection without sending back. there might lot of reasons firewall blocking connection, various configuration errors on server, server not expecting tls @ all, server expecting sni ...
unfortunately can not said information provide cause of problem. might try different clients (browser) find out, if problem more @ server or middlebox site (i.e. none of clients work) or if more problem can maybe fixed on client site (some clients work, others not).
Comments
Post a Comment