Forum Discussion
Self signed certificate
s_client -connect 10.50.171.5:7777
Verify return code: 19 (self signed certificate in certificate chain)
error in s_client
what is the solution of this?
5 Replies
- Techgeeeg_28888
Nimbostratus
Hi Irfan,
This is a very blind question how should we know what are you trying to achieve that you got this error. Explain your requirement and the steps you performed.
Regards,
- R_Marc
Nimbostratus
Looking through history, Irfan has asked the same question several times, yet doesn't take advise given. Either he's a bot or can't read/understand English. If you aren't a bot, Irfan, please state the actual issue this is causing you, or try one of the recommendations afforded to you.
- Techgeeeg
Nimbostratus
Hi Irfan,
This is a very blind question how should we know what are you trying to achieve that you got this error. Explain your requirement and the steps you performed.
Regards,
- R_Marc
Nimbostratus
Looking through history, Irfan has asked the same question several times, yet doesn't take advise given. Either he's a bot or can't read/understand English. If you aren't a bot, Irfan, please state the actual issue this is causing you, or try one of the recommendations afforded to you.
OpenSSL> s_client -connect 10.50.171.5:7777 -CAfile "F:\irfan-cert\CARoot.cer" Loading 'screen' into random state - done CONNECTED(000000F8) depth=3 CN = Mobilink-PKI-Root verify return:1 depth=2 CN = Mobilink-PKI-SubCA verify return:1 depth=1 DC = pk, DC = net, DC = mobilink, CN = Mobilink-PKI-ISS1 verify return:1 depth=0 C = PK, ST = punjab, L = lahore, O = mobilink, OU = FRF, CN = 10.50.171. 5, emailAddress = abbas.malik@mobilink.net verify return:1 6228:error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure:s 3_pkt.c:1256:SSL alert number 40 6228:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:177
:Certificate chain 0 s:/C=PK/ST=punjab/L=lahore/O=mobilink/OU=FRF/CN=10.50.171.5/emailAddress=abba s.malik@mobilink.net i:/DC=pk/DC=net/DC=mobilink/CN=Mobilink-PKI-ISS1 1 s:/DC=pk/DC=net/DC=mobilink/CN=Mobilink-PKI-ISS1 i:/CN=Mobilink-PKI-SubCA 2 s:/CN=Mobilink-PKI-SubCA i:/CN=Mobilink-PKI-Root 3 s:/CN=M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1 dGlvblBvaW50hkRodHRwOi8vbW9iaWxuay1pc3MxLm1vYmlsaW5rLm5ldC5way9D ZXJ0RW5yb2xsL01vYmlsaW5rLVBLSS1JU1MxLmNybIYyaHR0cDovL2NlcnQubW9i aWxpbmsubmV0L1BraS9Nb2JpbGluay1QS0ktSVNTMS5jcmwwggE+BggrBgEFBQcB AQSCATAwggEsMIG3BggrBgEFBQcwAoaBqmxkYXA6Ly8vQ049TW9iaWxpbmstUEtJ LUlTUzEsQ049QUlBLENOPVB1YmxpYyUyMEtleSUyMFNlcnZpY2VzLENOPVNlcnZp Y2VzLENOPUNvbmZpZ3VyYXRpb24sREM9bW9iaWxpbmssREM9bmV0LERDPXBrP2NB Q2VydGlmaWNhdGU/YmFzZT9vYmplY3RDbGFzcz1jZXJ0aWZpY2F0aW9uQXV0aG9y aXR5MHAGCCsGAQUFBzAChmRodHRwOi8vbW9iaWxuay1pc3MxLm1vYmlsaW5rLm5l dC5way9DZXJ0RW5yb2xsL01PQklMTkstSVNTMS5tb2JpbGluay5uZXQucGtfTW9i aWxpbmstUEtJLUlTUzEoMSkuY3J0MAsGA1UdDwQEAwIFoDA8BgkrBgEEAYI3FQcE LzAtBiUrBgEEAYI3FQiDstUxz68uhZWBLYKT9VSG65EGAIWgvAqEwb1PAgFlAgEE MBMGA1UdJQQMMAoGCCsGAQUFBwMBMBsGCSsGAQQBgjcVCgQOMAwwCgYIKwYBBQUH AwEwDQYJKoZIhvcNAQEFBQADgYEA4SoS7d+2saQmx3n2/d+eoBJDzagrYQYGJFle QH4vykZTmT4TIayMEJOqYq5fIUcZ6UlMYIDW5Uyiwa0iObXTi+1FA1ZB1extnPfl CAv4Rqs0V2HA5vzmS3Ge8aJ0KjJXXlZOZCHpAG3pJsdVZLtWbCu/8pRAOd8iGRgh PdNNXJg= -----END CERTIFICATE----- subject=/C=PK/ST=punjab/L=lahore/O=mobilink/OU=FRF/CN=10.50.171.5/emailAddress=a bbas.malik@mobilink.net
issuer=/DC=pk/DC=net/DC=mobilink/CN=Mobilink-PKI-ISS1Acceptable client certificate CA names /DC=pk/DC=net/DC=mobilink/CN=Mobilink-PKI-ISS1 /CN=Mobilink-PKI-SubCA
/CN=Mobilink-PKI-Root SSL handshake has read 6337 bytes and written 198 bytesNew, TLSv1/SSLv3, Cipher is RC4-SHA Server public key is 1024 bit Secure Renegotiation IS supported Compression: NONE Expansion: NONE SSL-Session: Protocol : TLSv1.2 Cipher : RC4-SHA Session-ID: 7FBA71D93410222F09FCE95D43119ED1936C37F47847EDAF6E4512C30D227ABD
Session-ID-ctx: Master-Key: ACC9062AB465DD716BAE6033B700F35B6ED79FB3989865ACBCAF37B10BEBD418C074F8385328680A63C65CF1AE514974 Key-Arg : None PSK identity: None PSK identity hint: None SRP username: None Start Time: 1415606201 Timeout : 300 (sec)
Verify return code: 0 (ok)error in s_client OpenSSL>
Sorry i am not very expert with SSL certificates. openssl is shows the following output can you help me out now?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
