Closed
Description
I am using this example. I changed ca cert to letsencrypt certificate https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem.txt converted with https://certyfikatyssl.pl/ssl-tools/convert-certificate.html#certificateConverter to der and then to hex with xxd -i -a
command. Here is log:
Setting time using SNTP.
Current time: Tue Aug 28 06:43:55 2018
=== CERTIFICATE ISSUED TO ===
Common Name (CN): Let's Encrypt Authority X3
Organization (O): Let's Encrypt
Country (C): US
Basic Constraints: critical, CA:TRUE, pathlen:0
Key Usage: critical, Digital Signature, Key Cert Sign, CRL Sign
=== CERTIFICATE ISSUED BY ===
Common Name (CN): DST Root CA X3
Organization (O): Digital Signature Trust Co.
Not Before: Thu Mar 17 16:40:46 2016
Not After: Wed Mar 17 16:40:46 2021
RSA bitsize: 2048
Sig Type: SHA256
connecting to website.com
State: sending Client Hello (1)
State: receiving Server Hello (2)
State: receiving Certificate (11)
=== CERTIFICATE ISSUED TO ===
Common Name (CN): website.com
Organization (O): <Not Part Of Certificate>
Basic Constraints: critical, CA:FALSE, pathlen:10000
Key Usage: critical, Digital Signature, Key Encipherment
Subject Alt Name: website.com
=== CERTIFICATE ISSUED BY ===
Common Name (CN): Let's Encrypt Authority X3
Organization (O): Let's Encrypt
Country (C): US
Not Before: Wed Aug 15 11:22:41 2018
Not After: Tue Nov 13 11:22:41 2018
RSA bitsize: 4096
Sig Type: SHA256
=== CERTIFICATE ISSUED TO ===
Common Name (CN): Let's Encrypt Authority X3
Organization (O): Let's Encrypt
Country (C): US
Basic Constraints: critical, CA:TRUE, pathlen:0
Key Usage: critical, Digital Signature, Key Cert Sign, CRL Sign
=== CERTIFICATE ISSUED BY ===
Common Name (CN): DST Root CA X3
Organization (O): Digital Signature Trust Co.
Not Before: Thu Mar 17 16:40:46 2016
Not After: Wed Mar 17 16:40:46 2021
RSA bitsize: 2048
Sig Type: SHA256
State: receiving Server Hello Done (14)
State: sending Client Key Exchange (16)
State: sending Finished (16)
State: receiving Finished (16)
=== CERTIFICATE ISSUED TO ===
Common Name (CN): website.com
Organization (O): <Not Part Of Certificate>
Basic Constraints: critical, CA:FALSE, pathlen:10000
Key Usage: critical, Digital Signature, Key Encipherment
Subject Alt Name: website.com
=== CERTIFICATE ISSUED BY ===
Common Name (CN): Let's Encrypt Authority X3
Organization (O): Let's Encrypt
Country (C): US
Not Before: Wed Aug 15 11:22:41 2018
Not After: Tue Nov 13 11:22:41 2018
RSA bitsize: 4096
Sig Type: SHA256
Verify: No trusted cert is available
=== CERTIFICATE ISSUED TO ===
Common Name (CN): Let's Encrypt Authority X3
Organization (O): Let's Encrypt
Country (C): US
Basic Constraints: critical, CA:TRUE, pathlen:0
Key Usage: critical, Digital Signature, Key Cert Sign, CRL Sign
=== CERTIFICATE ISSUED BY ===
Common Name (CN): DST Root CA X3
Organization (O): Digital Signature Trust Co.
Not Before: Thu Mar 17 16:40:46 2016
Not After: Wed Mar 17 16:40:46 2021
RSA bitsize: 2048
Sig Type: SHA256
Verify: No trusted cert is available
Error: No trusted cert is available
ERROR: certificate verification failed!
connecting to website.com
Alert: close notify
Certificate seems to be recognized and all seems to be properly setup, but cant pass with verifyCertChain
and without verification connection is failed.
Metadata
Metadata
Assignees
Labels
No labels