My domain is: sophotech.ddns.net
I ran this command:
keytool -keystore keystore.test -import -alias sophotech.ddns.net -file
/etc/letsencrypt/live/sophotech.ddns.net/fullchain.pem -trustcacerts
Started server on port 80 (HTTP), port 9443 (HTTPS, letsencrypt certificate), port 443 (HTTPS, self-signed)
Ports 80 and 443 work as expected. Port 9443 is configured the same way as port 443 except for the port number and keystore location.
Client (Firefox) can’t connect: “Secure connection failed: the
connection to sophotech.ddns.net was interrupted while the page was loading. The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.”
openssl s_client -connect sophotech.ddns.net:9443 </dev/null
It produced this output:
3073853116:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:177:
CONNECTED(00000003)
no peer certificate available
No client certificate CA names sent
SSL handshake has read 0 bytes and written 295 bytes
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
Using keytool to view the keystore shows this:
Alias name: sophotech.ddns.net
Creation date: Jan 18, 2017
Entry type: trustedCertEntry
Owner: CN=sophotech.ddns.net
Issuer: CN=Let’s Encrypt Authority X3, O=Let’s Encrypt, C=US
Serial number: 3291e62ea498a5d63a62c39e7cb3269b270
Valid from: Wed Jan 18 16:25:00 IST 2017 until: Tue Apr 18 17:25:00 IDT 2017
Certificate fingerprints:
MD5: 35:80:FE:F5:60:22:45:01:B1:EB:82:C7:47:14:4A:56
SHA1: 93:64:4E:60:91:82:0F:F5:67:49:5D:BE:2C:66:36:1A:43:57:90:91
SHA256: 29:6B:A5:89:F2:2E:76:57:C6:76:80:F9:3E:4C:7E:8E:16:7B:C1:04:E8:77:FE:EE:9F:7C:55:B1:4B:B0:F4:F2
Signature algorithm name: SHA256withRSA
Version: 3
Extensions:
#1: ObjectId: 1.3.6.1.5.5.7.1.1 Criticality=false
AuthorityInfoAccess [
[
accessMethod: ocsp
accessLocation: URIName: http://ocsp.int-x3.letsencrypt.org/
,
accessMethod: caIssuers
accessLocation: URIName: http://cert.int-x3.letsencrypt.org/
]
]
#2: ObjectId: 2.5.29.35 Criticality=false
AuthorityKeyIdentifier [
KeyIdentifier [
0000: A8 4A 6A 63 04 7D DD BA E6 D1 39 B7 A6 45 65 EF .Jjc…9…Ee.
0010: F3 A8 EC A1 …
]
]
#3: ObjectId: 2.5.29.19 Criticality=true
BasicConstraints:[
CA:false
PathLen: undefined
]
#4: ObjectId: 2.5.29.32 Criticality=false
CertificatePolicies [
[CertificatePolicyId: [2.23.140.1.2.1]
[] ]
[CertificatePolicyId: [1.3.6.1.4.1.44947.1.1.1]
[PolicyQualifierInfo: [
qualifierID: 1.3.6.1.5.5.7.2.1
qualifier: 0000: 16 1A 68 74 74 70 3A 2F 2F 63 70 73 2E 6C 65 74 …http://cps.let
0010: 73 65 6E 63 72 79 70 74 2E 6F 72 67 sencrypt.org
], PolicyQualifierInfo: [
qualifierID: 1.3.6.1.5.5.7.2.2
qualifier: 0000: 30 81 9E 0C 81 9B 54 68 69 73 20 43 65 72 74 69 0…This Certi
0010: 66 69 63 61 74 65 20 6D 61 79 20 6F 6E 6C 79 20 ficate may only
0020: 62 65 20 72 65 6C 69 65 64 20 75 70 6F 6E 20 62 be relied upon b
0030: 79 20 52 65 6C 79 69 6E 67 20 50 61 72 74 69 65 y Relying Partie
0040: 73 20 61 6E 64 20 6F 6E 6C 79 20 69 6E 20 61 63 s and only in ac
0050: 63 6F 72 64 61 6E 63 65 20 77 69 74 68 20 74 68 cordance with th
0060: 65 20 43 65 72 74 69 66 69 63 61 74 65 20 50 6F e Certificate Po
0070: 6C 69 63 79 20 66 6F 75 6E 64 20 61 74 20 68 74 licy found at ht
0080: 74 70 73 3A 2F 2F 6C 65 74 73 65 6E 63 72 79 70 tps://letsencryp
0090: 74 2E 6F 72 67 2F 72 65 70 6F 73 69 74 6F 72 79 t.org/repository
00A0: 2F /
]] ]
]
#5: ObjectId: 2.5.29.37 Criticality=false
ExtendedKeyUsages [
serverAuth
clientAuth
]
#6: ObjectId: 2.5.29.15 Criticality=true
KeyUsage [
DigitalSignature
Key_Encipherment
]
#7: ObjectId: 2.5.29.17 Criticality=false
SubjectAlternativeName [
DNSName: sophotech.ddns.net
]
#8: ObjectId: 2.5.29.14 Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 75 95 6B 67 A2 B2 D8 30 DD 08 8E A5 6E 4C 3A 1B u.kg…0…nL:.
0010: 5A F3 7A 48 Z.zH
]
]
My operating system is (include version): Ubuntu 15.04
My web server is (include version): Jetty 8.1.4
My hosting provider, if applicable, is:
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no