# openssl s_client -connect test.sagepay.com:443
CONNECTED(00000003)
depth=2 C = US, O = "VeriSign, Inc.", OU = VeriSign Trust Network, OU = "(c) 2006 VeriSign, Inc. - For authorized use only", CN = VeriSign Class 3 Public Primary Certification Authority - G5
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
0 s:/1.3.6.1.4.1.311.60.2.1.3=GB/businessCategory=Private Organization/serialNumber=01045967/C=GB/ST=TYNE AND WEAR/L=Newcastle Upon Tyne/O=Sage (UK) Limited/OU=Sage/OU=Terms of use at www.verisign.co.uk/rpa (c)05/OU=Authenticated by VeriSign/OU=Member, VeriSign Trust Network/CN=test.sagepay.com
i:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)06/CN=VeriSign Class 3 Extended Validation SSL SGC CA
1 s:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)06/CN=VeriSign Class 3 Extended Validation SSL SGC CA
i:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5
2 s:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5
i:/C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIGezCCBWOgAwIBAgIQYBuEUnm2OLRLJ8mztoWq7DANBgkqhkiG9w0BAQUFADCB
vjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2Ug
YXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykwNjE4MDYGA1UEAxMv
VmVyaVNpZ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GCCsGAQUFBwIBFhxodHRwczovL3d3dy52ZXJpc2lnbi5jb20v
Y3BzMD4GA1UdHwQ3MDUwM6AxoC+GLWh0dHA6Ly9FVkludGwtY3JsLnZlcmlzaWdu
LmNvbS9FVkludGwyMDA2LmNybDA0BgNVHSUELTArBggrBgEFBQcDAQYIKwYBBQUH
AwIGCWCGSAGG+EIEAQYKKwYBBAGCNwoDAzAfBgNVHSMEGDAWgBROQ8gddu83U3pP
8lhvlPM44tW93zBvBggrBgEFBQcBAQRjMGEwJAYIKwYBBQUHMAGGGGh0dHA6Ly9v
Y3NwLnZlcmlzaWduLmNvbTA5BggrBgEFBQcwAoYtaHR0cDovL0VWSW50bC1haWEu
dmVyaXNpZ24uY29tL0VWSW50bDIwMDYuY2VyMG4GCCsGAQUFBwEMBGIwYKFeoFww
WjBYMFYWCWltYWdlL2dpZjAhMB8wBwYFKw4DAhoEFEtruSiWBgy70FI4mymsSweL
IQUYMCYWJGh0dHA6Ly9sb2dvLnZlcmlzaWduLmNvbS92c2xvZ28xLmdpZjANBgkq
hkiG9w0BAQUFAAOCAQEABJKpfAcnGbKIgEQM6oVdKtIs2polpsI3NF6r4BYdkX6m
HMlv3HN4mtQoGB+0ygqL/pEaAKWoCvfgzhXP9MJwYEfKyDE1Y33k9FvVAUAMsJxq
W3cL8sQsEbN6DHlF3U0b5Aj+AfySYIqJoxBi9alrZqMPYW+4EiUvu/xU7ne78Czy
KW55zto8x8xbPrsZ3MJ8+6YSekAnRKHvNE5siPJ8br2GbHAUA58PHr+9Yq5lSoEZ
yDJsDbFPHlZkYKkcmfxK1odyIGJXBLMk8yf9z2Ic5swZFAmdlWH9IRRGvqTFvXdN
oUhDUrNWf3giaiF43kyijvBzaeYhW8TPo29x5GoVWQ==
-----END CERTIFICATE-----
subject=/1.3.6.1.4.1.311.60.2.1.3=GB/businessCategory=Private Organization/serialNumber=01045967/C=GB/ST=TYNE AND WEAR/L=Newcastle Upon Tyne/O=Sage (UK) Limited/OU=Sage/OU=Terms of use at www.verisign.co.uk/rpa (c)05/OU=Authenticated by VeriSign/OU=Member, VeriSign Trust Network/CN=test.sagepay.com
issuer=/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)06/CN=VeriSign Class 3 Extended Validation SSL SGC CA
---
No client certificate CA names sent
---
SSL handshake has read 4709 bytes and written 558 bytes
---
New, TLSv1/SSLv3, Cipher is RC4-MD5
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : SSLv3
Cipher : RC4-MD5
Session-ID: 22060000FA7F82875765F721E58E9ACB64969C3EB3ACDD9297BA42F6F06D1273
Session-ID-ctx:
Master-Key: EE3A2E901870BF223DF78CF8F942B9782ECDABF0FA2040A8D10D99DFD0389A88137FC848F03802A5FEC2CA95E70D7704
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1345115877
Timeout : 300 (sec)
Verify return code: 20 (unable to get local issuer certificate)
---
And the output from openssl on 12.04:
======= ======= ======= ======= ======= ======= ======= ======= ======= ===
# openssl s_client -connect test.sagepay. com:443 6.1.4.1. 311.60. 2.1.3=GB/ businessCategor y=Private Organization/ serialNumber= 01045967/ C=GB/ST= TYNE AND WEAR/L=Newcastle Upon Tyne/O=Sage (UK) Limited/ OU=Sage/ OU=Terms of use at www.verisign. co.uk/rpa (c)05/OU= Authenticated by VeriSign/OU=Member, VeriSign Trust Network/ CN=test. sagepay. com US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https:/ /www.verisign. com/rpa (c)06/CN=VeriSign Class 3 Extended Validation SSL SGC CA /www.verisign. com/rpa (c)06/CN=VeriSign Class 3 Extended Validation SSL SGC CA US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5 US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority BAgIQYBuEUnm2OL RL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20v 3MDUwM6AxoC+ GLWh0dHA6Ly9FVk ludGwtY3JsLnZlc mlzaWdu yMDA2LmNybDA0Bg NVHSUELTArBggrB gEFBQcDAQYIKwYB BQUH EIEAQYKKwYBBAGC NwoDAzAfBgNVHSM EGDAWgBROQ8gddu 83U3pP vBggrBgEFBQcBAQ RjMGEwJAYIKwYBB QUHMAGGGGh0dHA6 Ly9v uLmNvbTA5BggrBg EFBQcwAoYtaHR0c DovL0VWSW50bC1h aWEu tL0VWSW50bDIwMD YuY2VyMG4GCCsGA QUFBwEMBGIwYKFe oFww lL2dpZjAhMB8wBw YFKw4DAhoEFEtru SiWBgy70FI4myms SweL 6Ly9sb2dvLnZlcm lzaWduLmNvbS92c 2xvZ28xLmdpZjAN Bgkq CAQEABJKpfAcnGb KIgEQM6oVdKtIs2 polpsI3NF6r4BYd kX6m 0ygqL/pEaAKWoCv fgzhXP9MJwYEfKy DE1Y33k9FvVAUAM sJxq F3U0b5Aj+ AfySYIqJoxBi9al rZqMPYW+ 4EiUvu/ xU7ne78Czy Z3MJ8+6YSekAnRK HvNE5siPJ8br2Gb HAUA58PHr+ 9Yq5lSoEZ cmfxK1odyIGJXBL Mk8yf9z2Ic5swZF AmdlWH9IRRGvqTF vXdN 43kyijvBzaeYhW8 TPo29x5GoVWQ= = /1.3.6. 1.4.1.311. 60.2.1. 3=GB/businessCa tegory= Private Organization/ serialNumber= 01045967/ C=GB/ST= TYNE AND WEAR/L=Newcastle Upon Tyne/O=Sage (UK) Limited/ OU=Sage/ OU=Terms of use at www.verisign. co.uk/rpa (c)05/OU= Authenticated by VeriSign/OU=Member, VeriSign Trust Network/ CN=test. sagepay. com /C=US/O= VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https:/ /www.verisign. com/rpa (c)06/CN=VeriSign Class 3 Extended Validation SSL SGC CA 75765F721E58E9A CB64969C3EB3ACD D9297BA42F6F06D 1273 23DF78CF8F942B9 782ECDABF0FA204 0A8D10D99DFD038 9A88137FC848F03 802A5FEC2CA95E7 0D7704
CONNECTED(00000003)
depth=2 C = US, O = "VeriSign, Inc.", OU = VeriSign Trust Network, OU = "(c) 2006 VeriSign, Inc. - For authorized use only", CN = VeriSign Class 3 Public Primary Certification Authority - G5
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
0 s:/1.3.
i:/C=
1 s:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https:/
i:/C=
2 s:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5
i:/C=
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIGezCCBWOgAwI
vjELMAkGA1UEBhM
ExZWZXJpU2lnbiB
YXQgaHR0cHM6Ly9
VmVyaVNpZ24gQ2x
HhcNMTEwMjAxMDA
PAIBAxMCR0IxHTA
EwgwMTA0NTk2NzE
HDAaBgNVBAcUE05
KSBMaW1pdGVkMQ0
YXQgd3d3LnZlcml
dGljYXRlZCBieSB
cnVzdCBOZXR3b3J
hkiG9w0BAQEFAAO
vjIS4LKJqwebkW7
e3exKQcE5yRTRIS
Nhdhmfnl/
q+dF+CX5HXj1DVb
qb8hUBoeJf5jf1v
2jCCAdYwCQYDVR0
hvhFAQcXBjAqMCg
Y3BzMD4GA1UdHwQ
LmNvbS9FVkludGw
AwIGCWCGSAGG+
8lhvlPM44tW93zB
Y3NwLnZlcmlzaWd
dmVyaXNpZ24uY29
WjBYMFYWCWltYWd
IQUYMCYWJGh0dHA
hkiG9w0BAQUFAAO
HMlv3HN4mtQoGB+
W3cL8sQsEbN6DHl
KW55zto8x8xbPrs
yDJsDbFPHlZkYKk
oUhDUrNWf3giaiF
-----END CERTIFICATE-----
subject=
issuer=
---
No client certificate CA names sent
---
SSL handshake has read 4709 bytes and written 558 bytes
---
New, TLSv1/SSLv3, Cipher is RC4-MD5
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : SSLv3
Cipher : RC4-MD5
Session-ID: 22060000FA7F828
Session-ID-ctx:
Master-Key: EE3A2E901870BF2
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1345115877
Timeout : 300 (sec)
Verify return code: 20 (unable to get local issuer certificate)
---