forked from eProsima/Fast-DDS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing TLS Exceptions and Example (eProsima#2173)
* Fixing HelloWorldExampleTCP certificates Signed-off-by: jparisu <javierparis@eprosima.com> * regenerate certificates Signed-off-by: jparisu <javierparis@eprosima.com> * Add try catch to probable fails in asio calls Signed-off-by: jparisu <javierparis@eprosima.com> Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
- Loading branch information
1 parent
4417267
commit 7d65967
Showing
17 changed files
with
175 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Configuration file for CA request | ||
|
||
[ req ] | ||
distinguished_name = req_distinguished_name | ||
prompt = no | ||
|
||
[ req_distinguished_name ] | ||
countryName = ES | ||
stateOrProvinceName = MA | ||
localityName = Madrid | ||
organizationName = eProsima | ||
organizationalUnitName = eProsima | ||
commonName = HelloWorldExampleTCP | ||
emailAddress = ca@eprosima.com |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICHDCCAcMCFFq98e6WB07/LRzoPiRhKKhb/7MEMAoGCCqGSM49BAMCMIGQMQsw | ||
CQYDVQQGEwJFUzELMAkGA1UECAwCTUExDzANBgNVBAcMBk1hZHJpZDERMA8GA1UE | ||
CgwIZVByb3NpbWExETAPBgNVBAsMCGVQcm9zaW1hMR0wGwYDVQQDDBRIZWxsb1dv | ||
cmxkRXhhbXBsZVRDUDEeMBwGCSqGSIb3DQEJARYPY2FAZXByb3NpbWEuY29tMB4X | ||
DTIxMDkwMjA5MTc0NVoXDTMxMDgzMTA5MTc0NVowgZAxCzAJBgNVBAYTAkVTMQsw | ||
CQYDVQQIDAJNQTEPMA0GA1UEBwwGTWFkcmlkMREwDwYDVQQKDAhlUHJvc2ltYTER | ||
MA8GA1UECwwIZVByb3NpbWExHTAbBgNVBAMMFEhlbGxvV29ybGRFeGFtcGxlVENQ | ||
MR4wHAYJKoZIhvcNAQkBFg9jYUBlcHJvc2ltYS5jb20wWTATBgcqhkjOPQIBBggq | ||
hkjOPQMBBwNCAARFyDEGg6TqrVzusJNcKuUNjEGExpSJbI6FHdBUZNN341OTKaB0 | ||
RB2+ecUlau/SQl8IWGyMLqY67SXXFuaxXFiaMAoGCCqGSM49BAMCA0cAMEQCIEEm | ||
nhtnxFYZZGME0n0TXMQ//l7YKAxNqwB+SEVtCFtUAiAutaLfgULUHXNVWGrwdSBv | ||
U2UfxqP9GlUn8j2d9wKINA== | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
68A89E556EDA2C2E2F39D8D3ABA444472A752A82 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
Proc-Type: 4,ENCRYPTED | ||
DEK-Info: AES-256-CBC,4F7DF4A082727997AA40B6EFF455C2D8 | ||
|
||
8+TN9DOTv43cAT0a1kItggowBeb5iR2wFnkDlus82Lw2FsQjeROreee/hehYgEKA | ||
9jY38PBjM9Qnf5TxfnDLfv3V1lUdWvvMDZoaawnFfq5tAR2pAhG0TMMgq/NCLN8n | ||
QRMg9M6o6nwUsWjXt+rDw8N529ygRCdiCGWefBjzgo0= | ||
-----END EC PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
-----BEGIN DH PARAMETERS----- | ||
MIIBCAKCAQEAyNnxZSYc6J89mDNnqOH8bnwBiAJxcaUS3PkIEcwW8D9o2BlNq6EO | ||
XKMIbdfwPFZi80GMpNu3YP2A2B42sAHmb7w7ZA92QDv3JjqzR0QuS/CkMv4CEjha | ||
QBFwBDDWnnHBSj4w/t54ii0SH34mWcjBItI2eMtnM9J6fnvNiWqJxdt4iA4mZjZD | ||
qZTjIRyjgKAevzkqAlBqQRoVUUgu+9Cf29wXjVl3bE+0VU5CdFeyT+Y9yunz88mq | ||
rGyx1uPt+zbIfxuNLH+coY67y1ht7iZEL5WLd3wGCycRT+lYy2AL/rxGBPxStFIT | ||
2bOkQao6sAfb4UdGEUlwHUXZrAV51oM30wIBAg== | ||
MIIBCAKCAQEAzKWNcIHi8oJ5656EvNkHVkYFnIO2ZT6ecvEo41Eve83zQVvwsSOC | ||
QdSS90K7kSVAvpN3S1HNuG1+CaW4CnLNXahPxtRF/vqeUx/mm5E1yvfMnTC2v5EQ | ||
2kLnji1P0hYtYpEqki+qOyt4NqkRp303/6nonvSudZGe95RkJcLoQZTKR6hcemS4 | ||
sb2wY/HJ3SlZemk0S0N+UQxiHZVR+IqTuaEk2eOH+HjzQtkcei29xrDOQIHGIrM/ | ||
ZdJ/vsa2TFtTilGj6Qa/o/nrQxz9JkV370UDmCZffrY7NNbIc6BUZ3zLtZsLcVDg | ||
ibDsASO89bSdi1K3C2GoWq/5Jb5+lwsZWwIBAg== | ||
-----END DH PARAMETERS----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Configuration file for CA request | ||
|
||
[ req ] | ||
distinguished_name = req_distinguished_name | ||
prompt = no | ||
|
||
[ req_distinguished_name ] | ||
countryName = ES | ||
stateOrProvinceName = MA | ||
localityName = Madrid | ||
organizationName = eProsima | ||
organizationalUnitName = eProsima | ||
commonName = HelloWorldExampleTCP | ||
emailAddress = server@eprosima.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-----BEGIN CERTIFICATE REQUEST----- | ||
MIIBUTCB9wIBADCBlDELMAkGA1UEBhMCRVMxCzAJBgNVBAgMAk1BMQ8wDQYDVQQH | ||
DAZNYWRyaWQxETAPBgNVBAoMCGVQcm9zaW1hMREwDwYDVQQLDAhlUHJvc2ltYTEd | ||
MBsGA1UEAwwUSGVsbG9Xb3JsZEV4YW1wbGVUQ1AxIjAgBgkqhkiG9w0BCQEWE3Nl | ||
cnZlckBlcHJvc2ltYS5jb20wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATDsPIt | ||
BSj/9N+DjujflOxl9AnDWyFEgHnRl2EkcypoFKGnZ19IhUv4c5Cj93VuerI5z7Lp | ||
/RiyzUmcCFzdT86coAAwCgYIKoZIzj0EAwIDSQAwRgIhAOQ6ceJsMp+xBsvHw08o | ||
FMTNXmKc9D/rSIqzQkc+FNQ4AiEAsooXFk29SwGbPtuttiN+jUIR1CsD4shhe611 | ||
+caIn8I= | ||
-----END CERTIFICATE REQUEST----- |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICIjCCAccCFGionlVu2iwuLznY06ukREcqdSqCMAoGCCqGSM49BAMCMIGQMQsw | ||
CQYDVQQGEwJFUzELMAkGA1UECAwCTUExDzANBgNVBAcMBk1hZHJpZDERMA8GA1UE | ||
CgwIZVByb3NpbWExETAPBgNVBAsMCGVQcm9zaW1hMR0wGwYDVQQDDBRIZWxsb1dv | ||
cmxkRXhhbXBsZVRDUDEeMBwGCSqGSIb3DQEJARYPY2FAZXByb3NpbWEuY29tMB4X | ||
DTIxMDkwMjA5MTc1NloXDTI0MDUyOTA5MTc1NlowgZQxCzAJBgNVBAYTAkVTMQsw | ||
CQYDVQQIDAJNQTEPMA0GA1UEBwwGTWFkcmlkMREwDwYDVQQKDAhlUHJvc2ltYTER | ||
MA8GA1UECwwIZVByb3NpbWExHTAbBgNVBAMMFEhlbGxvV29ybGRFeGFtcGxlVENQ | ||
MSIwIAYJKoZIhvcNAQkBFhNzZXJ2ZXJAZXByb3NpbWEuY29tMFkwEwYHKoZIzj0C | ||
AQYIKoZIzj0DAQcDQgAEw7DyLQUo//Tfg47o35TsZfQJw1shRIB50ZdhJHMqaBSh | ||
p2dfSIVL+HOQo/d1bnqyOc+y6f0Yss1JnAhc3U/OnDAKBggqhkjOPQQDAgNJADBG | ||
AiEAwDUUC7juRZ3u+GmfSN4dSFoMmIQOZ6NKsC8jl5cRSzkCIQD9XHHlpcPs9gal | ||
CfGdVJAAK6nhnos2PvDNx2ukMv6Tyg== | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
Proc-Type: 4,ENCRYPTED | ||
DEK-Info: AES-256-CBC,2AEC6E52327BCB608545A7F1AD7AE4EC | ||
|
||
dk8uVghPw/DYIcckr52+Vid5jR2aEooV3ZCpL/kX7gbFu+g2E+Z8q8hvwNYxQOuC | ||
DY8jokqqqYT7oaWUQ+q5ZnUKg9aqhNObetVsG4Iel6F0lB3d7YZNynA5brKFm40v | ||
BFLLaXMo4sz5hWBwftJSZqYeXBZX7H7ZsX+HvgIvHm4= | ||
-----END EC PRIVATE KEY----- |
Oops, something went wrong.