additional info; looking into AWS Diagnosing connectivity issues, specifically the 'Authentication' part, validating the configured certificate, testing the connection to our AWS thing with the same settings used on our stream:
- endpoint
- certification
- private key
`openssl s_client -connect aqwkc=SALTED_KEY=q0m0-ats.iot.us-east-2.amazonaws.com:8443 -CAfile c:\CA.pem -cert c:\cert.pem -key c:\key.pem
CONNECTED(000001A0)
depth=3 C = US, ST = Arizona, L = Scottsdale, O = "Starfield Technologies, Inc.", CN = Starfield Services Root Certificate Authority - G2
verify return:1
depth=2 C = US, O = Amazon, CN = Amazon Root CA 1
verify return:1
depth=1 C = US, O = Amazon, OU = Server CA 1B, CN = Amazon
verify return:1
depth=0 CN = *.iot.us-east-2.amazonaws.com
verify return:1
Certificate chain
0 s:CN = *.iot.us-east-2.amazonaws.com
i:C = US, O = Amazon, OU = Server CA 1B, CN = Amazon
a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
v:NotBefore: Aug 24 00:00:00 2021 GMT; NotAfter: Aug 3 23:59:59 2022 GMT
1 s:C = US, O = Amazon, OU = Server CA 1B, CN = Amazon
i:C = US, O = Amazon, CN = Amazon Root CA 1
a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
v:NotBefore: Oct 22 00:00:00 2015 GMT; NotAfter: Oct 19 00:00:00 2025 GMT
2 s:C = US, O = Amazon, CN = Amazon Root CA 1
i:C = US, ST = Arizona, L = Scottsdale, O = "Starfield Technologies, Inc.", CN = Starfield Services Root Certificate Authority - G2
a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
v:NotBefore: May 25 12:00:00 2015 GMT; NotAfter: Dec 31 01:00:00 2037 GMT
3 s:C = US, ST = Arizona, L = Scottsdale, O = "Starfield Technologies, Inc.", CN = Starfield Services Root Certificate Authority - G2
i:C = US, O = "Starfield Technologies, Inc.", OU = Starfield Class 2 Certification Authority
a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
v:NotBefore: Sep 2 00:00:00 2009 GMT; NotAfter: J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trr/qq51g==
-----END CERTIFICATE-----
subject=CN = *.iot.us-east-2.amazonaws.com
issuer=C = US, O = Amazon, OU = Server CA 1B, CN = Amazon
No client certificate CA names sent
Client Certificate Types: RSA sign, DSA sign, ECDSA sign
Requested Signature Algorithms: ECDSA+SHA256:RSA+SHA256:ECDSA+SHA384:RSA+SHA384:ECDSA+SHA512:RSA+SHA512:ECDSA+SHA224:RSA+SHA224:ECDSA+SHA1:RSA+SHA1
Shared Requested Signature Algorithms: ECDSA+SHA256:RSA+SHA256:ECDSA+SHA384:RSA+SHA384:ECDSA+SHA512:RSA+SHA512:ECDSA+SHA224:RSA+SHA224
Peer signing digest: SHA256
Peer signature type: RSA
Server Temp Key: ECDH, prime256v1, 256 bits
SSL handshake has read 5527 bytes and written 1622 bytes
Verification: OK
New, TLSv1.2, Cipher is ECDHE-RSA-AES128-GCM-SHA256
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES128-GCM-SHA256
Session-ID: 2DCC0B8689D45C4374314C6D03FB469C692E8327C0D403B56A9757937C2A96C6
Session-ID-ctx:
Master-Key: 17E1AFFA62D107=SALTED_KEY=4A24B57AFC0E5F714C8ABF
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1648621402
Timeout : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no
---`
if the verification is OK for the same info in the stream settings, what else could be the reason for our flespi stream failing to connect?