Skip to content

Instantly share code, notes, and snippets.

@chetandhembre
Created April 29, 2015 18:30
Show Gist options
  • Select an option

  • Save chetandhembre/2f1158e583bc0a9c4d00 to your computer and use it in GitHub Desktop.

Select an option

Save chetandhembre/2f1158e583bc0a9c4d00 to your computer and use it in GitHub Desktop.
openssl s_client output
$ openssl s_client -connect 127.0.0.1:8000 -ssl3
CONNECTED(00000003)
depth=0 /C=IN/ST=Maharashtra/L=vashi/O=Codigami Inc/OU=develop/CN=chetan/[email protected]
verify error:num=18:self signed certificate
verify return:1
depth=0 /C=IN/ST=Maharashtra/L=vashi/O=Codigami Inc/OU=develop/CN=chetan/[email protected]
verify return:1
---
Certificate chain
0 s:/C=IN/ST=Maharashtra/L=vashi/O=Codigami Inc/OU=develop/CN=chetan/[email protected]
i:/C=IN/ST=Maharashtra/L=vashi/O=Codigami Inc/OU=develop/CN=chetan/[email protected]
---
Server certificate
-----BEGIN CERTIFICATE-----
MIICmzCCAgQCCQCNVqBl4TYrhjANBgkqhkiG9w0BAQUFADCBkTELMAkGA1UEBhMC
SU4xFDASBgNVBAgTC01haGFyYXNodHJhMQ4wDAYDVQQHEwV2YXNoaTEVMBMGA1UE
ChMMQ29kaWdhbWkgSW5jMRAwDgYDVQQLEwdkZXZlbG9wMQ8wDQYDVQQDEwZjaGV0
YW4xIjAgBgkqhkiG9w0BCQEWE2NoZXRhbkBjb2RpZ2FtaS5jb20wHhcNMTUwNDI5
MTcyNTQxWhcNMTUwNTI5MTcyNTQxWjCBkTELMAkGA1UEBhMCSU4xFDASBgNVBAgT
C01haGFyYXNodHJhMQ4wDAYDVQQHEwV2YXNoaTEVMBMGA1UEChMMQ29kaWdhbWkg
SW5jMRAwDgYDVQQLEwdkZXZlbG9wMQ8wDQYDVQQDEwZjaGV0YW4xIjAgBgkqhkiG
9w0BCQEWE2NoZXRhbkBjb2RpZ2FtaS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0A
MIGJAoGBAOsBgwPU+NdHooeSOnZ8FxODW1HpCWgcvVbcDZ2ojj6QIxH1qnIf7oZN
vsBvm5c49qY3ae8YYPY779mj48akuM46QWjReM8m6X89L+RhhSragC+4dvlDwSM9
IV0Z7ICc7hAjGnz/MmbYzuKub7cCV4H/lvcjS5AFdMuq+iJuVozNAgMBAAEwDQYJ
KoZIhvcNAQEFBQADgYEAwUiM2HrzmO43TKF2ygKVyDVbIaDTfi0p6Tvr3ZDwlN7t
ZHK3ltr/RMaEpiwbYh3AcYDfLLbUqc9ScvmC8B+dbL/+JOy3gc+74YvuSoZzLDfA
NrRGp+nVr3M2tpL4gvpxCOc2rjPINuwjTd2J4+c6kTk1HDRVxYSXTJ+I7DU6lAQ=
-----END CERTIFICATE-----
subject=/C=IN/ST=Maharashtra/L=vashi/O=Codigami Inc/OU=develop/CN=chetan/[email protected]
issuer=/C=IN/ST=Maharashtra/L=vashi/O=Codigami Inc/OU=develop/CN=chetan/[email protected]
---
No client certificate CA names sent
---
SSL handshake has read 856 bytes and written 306 bytes
---
New, TLSv1/SSLv3, Cipher is AES256-SHA
Server public key is 1024 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : SSLv3
Cipher : AES256-SHA
Session-ID: AE965B0386C9888710A2BC28BF00BD9FAEF4EE5BE07F24276F054EB478BB345C
Session-ID-ctx:
Master-Key: 0120ADBF7892D5243A1EBF96110A5FFDB1FCF1148564EAA24C9A7D10AD8D812ABC6BB280607E2620122B98BE442F8972
Key-Arg : None
Start Time: 1430331809
Timeout : 7200 (sec)
Verify return code: 18 (self signed certificate)
---
test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment