ssl3_get_record:wrong version number [on hold]
up vote
-3
down vote
favorite
SSL create code like this, SSL_accept error:1408F10B:SSL routines:ssl3_get_record:wrong version number
SSL_CTX *ctx;
ctx = SSL_CTX_new(SSLv23_server_method());
if (ctx == NULL)
SSL_Error("Fail to init ssl ctx!");
if (cert && key) {
if (SSL_CTX_use_certificate(ctx, cert) != 1)
SSL_Error("Certificate error");
if (SSL_CTX_use_PrivateKey(ctx, key) != 1)
SSL_Error("key error");
if (SSL_CTX_check_private_key(ctx) != 1)
SSL_Error("Private key does not match the certificate public key");
}
SSL *ssl = SSL_new(ctx);
if (ssl == NULL)
SSL_Error("Create ssl error");
if (SSL_set_fd(ssl, socket) != 1)
SSL_Error("Set fd error");
osx openssl proxy https
New contributor
put on hold as unclear what you're asking by Scott, Jeff Schaller, thrig, G-Man, Thomas 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
-3
down vote
favorite
SSL create code like this, SSL_accept error:1408F10B:SSL routines:ssl3_get_record:wrong version number
SSL_CTX *ctx;
ctx = SSL_CTX_new(SSLv23_server_method());
if (ctx == NULL)
SSL_Error("Fail to init ssl ctx!");
if (cert && key) {
if (SSL_CTX_use_certificate(ctx, cert) != 1)
SSL_Error("Certificate error");
if (SSL_CTX_use_PrivateKey(ctx, key) != 1)
SSL_Error("key error");
if (SSL_CTX_check_private_key(ctx) != 1)
SSL_Error("Private key does not match the certificate public key");
}
SSL *ssl = SSL_new(ctx);
if (ssl == NULL)
SSL_Error("Create ssl error");
if (SSL_set_fd(ssl, socket) != 1)
SSL_Error("Set fd error");
osx openssl proxy https
New contributor
put on hold as unclear what you're asking by Scott, Jeff Schaller, thrig, G-Man, Thomas 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
what is your question? ........ have you done any research before posting here?
– jsotola
Nov 28 at 6:32
my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
– SKR_OVER
Nov 28 at 7:01
you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
– jsotola
Nov 28 at 7:29
search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
– SKR_OVER
Nov 28 at 7:39
add a comment |
up vote
-3
down vote
favorite
up vote
-3
down vote
favorite
SSL create code like this, SSL_accept error:1408F10B:SSL routines:ssl3_get_record:wrong version number
SSL_CTX *ctx;
ctx = SSL_CTX_new(SSLv23_server_method());
if (ctx == NULL)
SSL_Error("Fail to init ssl ctx!");
if (cert && key) {
if (SSL_CTX_use_certificate(ctx, cert) != 1)
SSL_Error("Certificate error");
if (SSL_CTX_use_PrivateKey(ctx, key) != 1)
SSL_Error("key error");
if (SSL_CTX_check_private_key(ctx) != 1)
SSL_Error("Private key does not match the certificate public key");
}
SSL *ssl = SSL_new(ctx);
if (ssl == NULL)
SSL_Error("Create ssl error");
if (SSL_set_fd(ssl, socket) != 1)
SSL_Error("Set fd error");
osx openssl proxy https
New contributor
SSL create code like this, SSL_accept error:1408F10B:SSL routines:ssl3_get_record:wrong version number
SSL_CTX *ctx;
ctx = SSL_CTX_new(SSLv23_server_method());
if (ctx == NULL)
SSL_Error("Fail to init ssl ctx!");
if (cert && key) {
if (SSL_CTX_use_certificate(ctx, cert) != 1)
SSL_Error("Certificate error");
if (SSL_CTX_use_PrivateKey(ctx, key) != 1)
SSL_Error("key error");
if (SSL_CTX_check_private_key(ctx) != 1)
SSL_Error("Private key does not match the certificate public key");
}
SSL *ssl = SSL_new(ctx);
if (ssl == NULL)
SSL_Error("Create ssl error");
if (SSL_set_fd(ssl, socket) != 1)
SSL_Error("Set fd error");
osx openssl proxy https
osx openssl proxy https
New contributor
New contributor
New contributor
asked Nov 28 at 2:31
SKR_OVER
1
1
New contributor
New contributor
put on hold as unclear what you're asking by Scott, Jeff Schaller, thrig, G-Man, Thomas 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as unclear what you're asking by Scott, Jeff Schaller, thrig, G-Man, Thomas 2 days ago
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
what is your question? ........ have you done any research before posting here?
– jsotola
Nov 28 at 6:32
my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
– SKR_OVER
Nov 28 at 7:01
you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
– jsotola
Nov 28 at 7:29
search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
– SKR_OVER
Nov 28 at 7:39
add a comment |
what is your question? ........ have you done any research before posting here?
– jsotola
Nov 28 at 6:32
my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
– SKR_OVER
Nov 28 at 7:01
you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
– jsotola
Nov 28 at 7:29
search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
– SKR_OVER
Nov 28 at 7:39
what is your question? ........ have you done any research before posting here?
– jsotola
Nov 28 at 6:32
what is your question? ........ have you done any research before posting here?
– jsotola
Nov 28 at 6:32
my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
– SKR_OVER
Nov 28 at 7:01
my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
– SKR_OVER
Nov 28 at 7:01
you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
– jsotola
Nov 28 at 7:29
you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
– jsotola
Nov 28 at 7:29
search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
– SKR_OVER
Nov 28 at 7:39
search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
– SKR_OVER
Nov 28 at 7:39
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
what is your question? ........ have you done any research before posting here?
– jsotola
Nov 28 at 6:32
my client and server use protocol TLSv1.3, but when i call SSL_accept , it's error: SSL routines:ssl3_get_record:wrong version number
– SKR_OVER
Nov 28 at 7:01
you have not answered my second question .... i did a quick search on the web and a few hits came back where people have a similar problem
– jsotola
Nov 28 at 7:29
search answer tell me is client and server SSL protocol difference occor, but i check my server and client two protocol is the same TLSv1.3
– SKR_OVER
Nov 28 at 7:39